mergetool,difftool: Document --tool-help consistently
authorDavid Aguilar <davvid@gmail.com>
Fri, 10 Aug 2012 07:39:22 +0000 (00:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2012 15:07:41 +0000 (08:07 -0700)
Add an entry for --tool-help to the mergetool documentation.

Move --tool-help in the difftool documentation so that it is
listed immediately after --tool so that it is easier to find.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-difftool.txt
Documentation/git-mergetool.txt
index 313d54e18de09cffde502148871210ed7501df4e..73ca7025a39630907e3a019dfed14542f4ac7538 100644 (file)
@@ -66,6 +66,9 @@ of the diff post-image.  `$MERGED` is the name of the file which is
 being compared. `$BASE` is provided for compatibility
 with custom merge tool commands and has the same value as `$MERGED`.
 
+--tool-help::
+       Print a list of diff tools that may be used with `--tool`.
+
 --symlinks::
 --no-symlinks::
        'git difftool''s default behavior is create symlinks to the
@@ -74,9 +77,6 @@ with custom merge tool commands and has the same value as `$MERGED`.
        Specifying `--no-symlinks` instructs 'git difftool' to create
        copies instead.  `--no-symlinks` is the default on Windows.
 
---tool-help::
-       Print a list of diff tools that may be used with `--tool`.
-
 -x <command>::
 --extcmd=<command>::
        Specify a custom command for viewing diffs.
index 2a49de7cfe5188b531bc02f1115e253bfa10e0e0..77dfdab2de1beea55928fa4b0209ab895c1b5cce 100644 (file)
@@ -64,6 +64,9 @@ variable `mergetool.<tool>.trustExitCode` can be set to `true`.
 Otherwise, 'git mergetool' will prompt the user to indicate the
 success of the resolution after the custom tool has exited.
 
+--tool-help::
+       Print a list of merge tools that may be used with `--tool`.
+
 -y::
 --no-prompt::
        Don't prompt before each invocation of the merge resolution