Make usage strings dash-less
commit1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d
authorStephan Beyer <s-beyer@gmx.net>
Sun, 13 Jul 2008 13:36:15 +0000 (13 15:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Jul 2008 21:12:48 +0000 (13 14:12 -0700)
tree6eb5a6d6bd6e5a6db54f1a43ab7931a196f4f814
parentd492b31cafe9aa5ce001b1d48815f4c0bb40d01a
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>
80 files changed:
builtin-add.c
builtin-apply.c
builtin-archive.c
builtin-blame.c
builtin-branch.c
builtin-cat-file.c
builtin-check-attr.c
builtin-checkout-index.c
builtin-clean.c
builtin-clone.c
builtin-commit.c
builtin-config.c
builtin-count-objects.c
builtin-describe.c
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-tree.c
builtin-diff.c
builtin-fast-export.c
builtin-fetch-pack.c
builtin-fetch.c
builtin-fmt-merge-msg.c
builtin-for-each-ref.c
builtin-fsck.c
builtin-gc.c
builtin-grep.c
builtin-init-db.c
builtin-log.c
builtin-ls-files.c
builtin-ls-remote.c
builtin-ls-tree.c
builtin-mailinfo.c
builtin-mailsplit.c
builtin-merge-base.c
builtin-mv.c
builtin-name-rev.c
builtin-pack-refs.c
builtin-prune-packed.c
builtin-prune.c
builtin-push.c
builtin-reflog.c
builtin-rerere.c
builtin-reset.c
builtin-rev-list.c
builtin-rev-parse.c
builtin-revert.c
builtin-rm.c
builtin-send-pack.c
builtin-shortlog.c
builtin-show-branch.c
builtin-symbolic-ref.c
builtin-tag.c
builtin-tar-tree.c
builtin-update-index.c
builtin-update-ref.c
builtin-upload-archive.c
builtin-verify-tag.c
builtin-write-tree.c
daemon.c
fast-import.c
git-am.sh
git-archimport.perl
git-cvsexportcommit.perl
git-cvsimport.perl
git-cvsserver.perl
git-instaweb.sh
git-merge.sh
git-pull.sh
git-quiltimport.sh
git-relink.perl
git-repack.sh
git-send-email.perl
git-sh-setup.sh
git-svn.perl
hash-object.c
help.c
http-push.c
index-pack.c
pack-redundant.c
update-server-info.c