summaryrefslogtreecommitdiff
path: root/git-difftool.perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-10-12 12:34:30 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-12 12:34:30 -0700
commit5366afaedecf78ba72b819b0dbb60bda3fce2ca0 (patch)
tree3dddbad750b53fc0ac5546d00cb8009d3351897a /git-difftool.perl
parentMerge branch 'sp/smart-http-failure' (diff)
parentuse -h for synopsis and --help for manpage consistently (diff)
downloadtgif-5366afaedecf78ba72b819b0dbb60bda3fce2ca0.tar.xz
Merge branch 'cb/do-not-pretend-to-hijack-long-help'
* cb/do-not-pretend-to-hijack-long-help: use -h for synopsis and --help for manpage consistently
Diffstat (limited to 'git-difftool.perl')
-rwxr-xr-xgit-difftool.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-difftool.perl b/git-difftool.perl
index ced1615e21..09b65f1770 100755
--- a/git-difftool.perl
+++ b/git-difftool.perl
@@ -97,7 +97,7 @@ sub generate_command
$prompt = 'yes';
next;
}
- if ($arg eq '-h' || $arg eq '--help') {
+ if ($arg eq '-h') {
usage();
}
push @command, $arg;