summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2008-07-13 13:36:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-07-13 21:12:48 (GMT)
commit1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d (patch)
tree6eb5a6d6bd6e5a6db54f1a43ab7931a196f4f814 /git-am.sh
parentd492b31cafe9aa5ce001b1d48815f4c0bb40d01a (diff)
downloadgit-1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d.zip
git-1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d.tar.gz
git-1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d.tar.bz2
Make usage strings dash-less
When you misuse a git command, you are shown the usage string. But this is currently shown in the dashed form. So if you just copy what you see, it will not work, when the dashed form is no longer supported. This patch makes git commands show the dash-less version. For shell scripts that do not specify OPTIONS_SPEC, git-sh-setup.sh generates a dash-less usage string now. Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-xgit-am.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-am.sh b/git-am.sh
index 2c517ed..14578ce 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -5,9 +5,9 @@
SUBDIRECTORY_OK=Yes
OPTIONS_KEEPDASHDASH=
OPTIONS_SPEC="\
-git-am [options] <mbox>|<Maildir>...
-git-am [options] --resolved
-git-am [options] --skip
+git am [options] <mbox>|<Maildir>...
+git am [options] --resolved
+git am [options] --skip
--
d,dotest= (removed -- do not use)
i,interactive run interactively