mergetool,difftool: Document --tool-help consistently
PATCH v2 1/1 mergetool,difftool: Document --tool-help consistently
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 <[email protected]>
---
If you want to have --tool-help mentioned, use this patch.
Documentation/git-difftool.txt | 6 +++--- Documentation/git-mergetool.txt | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-)
Documentation/git-difftool.txt +3 -3
@@ -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.
Documentation/git-mergetool.txt +3 -0
@@ -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
Signature · 1 line
1.7.12.rc2.16.g034161a
PATCH 1/1 mergetool,difftool: Simplify --tool-help documentation
Remove the entry for --tool-help in the documentation as it is already mentioned in the documentation for --tool.
Signed-off-by David Aguilar <[email protected]>
---
Incompatible with the previous patch, but if you prefer to mention --tool-help in the docs for --tool only, then choose this one.
Documentation/git-difftool.txt | 3 --- 1 file changed, 3 deletions(-)
Documentation/git-difftool.txt +0 -3
@@ -74,9 +74,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.
Signature · 1 line
1.7.12.rc2.16.g034161a