diff options
author | Stephan Beyer <s-beyer@gmx.net> | 2008-07-13 15:36:15 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-13 14:12:48 -0700 |
commit | 1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d (patch) | |
tree | 6eb5a6d6bd6e5a6db54f1a43ab7931a196f4f814 /builtin-fmt-merge-msg.c | |
parent | t/: Use "test_must_fail git" instead of "! git" (diff) | |
download | tgif-1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d.tar.xz |
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 'builtin-fmt-merge-msg.c')
-rw-r--r-- | builtin-fmt-merge-msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fmt-merge-msg.c b/builtin-fmt-merge-msg.c index b892621ab5..b34b01ff51 100644 --- a/builtin-fmt-merge-msg.c +++ b/builtin-fmt-merge-msg.c @@ -6,7 +6,7 @@ #include "tag.h" static const char *fmt_merge_msg_usage = - "git-fmt-merge-msg [--log] [--no-log] [--file <file>]"; + "git fmt-merge-msg [--log] [--no-log] [--file <file>]"; static int merge_summary; |