From: Thomas Rast Date: Sun, 20 Oct 2013 16:57:41 GMT Subject: [PATCH] Documentation: revamp gitk(1) Message-ID: <21f40508f83a9407986d29f002adf5ad366c8b88.1382287779.git.trast@inf.ethz.ch> In-Reply-To: <20131014052547.GB25344@google.com> The gitk manpage suffers from a bit of neglect: there have been only minor changes, and no changes to the set of options documented, since a2df1fb (Documentation: New GUI configuration and command-line options., 2008-11-13). In the meantime, the set of rev-list options has been expanded several times by options that are useful in gitk, e.g., --ancestry-path and the optional globbing for --branches, --tags and --remotes. Restructure and expand the manpage. List more options that the author perceives as useful, while remaining somewhat terse. Ideally the user should not have to look up any of the references, but we dispense with precise explanations in some places and refer to git-log(1) instead. Note that the options that have an easy GUI equivalent (e.g., --word-diff, -S, --grep) are deliberately not listed even in the cases where they simply fill in the GUI fields. Signed-off-by: Thomas Rast --- Jonathan Nieder wrote: > Support for just the sticked form is better than nothing, especially > if the gitk(1) manpage gains a note about it. In the long run I guess > the ideal would be to add a parse-options-like library to the tcl > support. Ok. I'm generally not happy with the state of that manpage, so I took the chance to improve it (and include a note about sticked forms). The approach is really my own opinion; I ran a half-hearted attempt at an IRC survey but none of the willing victims had any 'gitk' invocations in their history. I'll hold the gitk patches until we get this one sorted out, but then just do the sticked form as before. Documentation/gitk.txt | 107 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 83 insertions(+), 24 deletions(-) diff --git a/Documentation/gitk.txt b/Documentation/gitk.txt index c17e760..d44e14c 100644 --- a/Documentation/gitk.txt +++ b/Documentation/gitk.txt @@ -8,7 +8,7 @@ gitk - The Git repository browser SYNOPSIS -------- [verse] -'gitk' [