• Stephan Beyer's avatar
    Make usage strings dash-less · 1b1dd23f
    Stephan Beyer authored
    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: default avatarStephan Beyer <s-beyer@gmx.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    1b1dd23f
Name
Last commit
Last update
Documentation Loading commit data...
arm Loading commit data...
compat Loading commit data...
contrib Loading commit data...
git-gui Loading commit data...
gitk-git Loading commit data...
gitweb Loading commit data...
mozilla-sha1 Loading commit data...
perl Loading commit data...
ppc Loading commit data...
t Loading commit data...
templates Loading commit data...
xdiff Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
GIT-VERSION-GEN Loading commit data...
INSTALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
RelNotes Loading commit data...
abspath.c Loading commit data...
alias.c Loading commit data...
alloc.c Loading commit data...
archive-tar.c Loading commit data...
archive-zip.c Loading commit data...
archive.c Loading commit data...
archive.h Loading commit data...
attr.c Loading commit data...
attr.h Loading commit data...
base85.c Loading commit data...
blob.c Loading commit data...
blob.h Loading commit data...
branch.c Loading commit data...
branch.h Loading commit data...
builtin-add.c Loading commit data...
builtin-annotate.c Loading commit data...
builtin-apply.c Loading commit data...
builtin-archive.c Loading commit data...
builtin-blame.c Loading commit data...
builtin-branch.c Loading commit data...
builtin-bundle.c Loading commit data...
builtin-cat-file.c Loading commit data...
builtin-check-attr.c Loading commit data...
builtin-check-ref-format.c Loading commit data...
builtin-checkout-index.c Loading commit data...
builtin-checkout.c Loading commit data...
builtin-clean.c Loading commit data...
builtin-clone.c Loading commit data...
builtin-commit-tree.c Loading commit data...
builtin-commit.c Loading commit data...
builtin-config.c Loading commit data...
builtin-count-objects.c Loading commit data...
builtin-describe.c Loading commit data...
builtin-diff-files.c Loading commit data...
builtin-diff-index.c Loading commit data...
builtin-diff-tree.c Loading commit data...
builtin-diff.c Loading commit data...
builtin-fast-export.c Loading commit data...
builtin-fetch--tool.c Loading commit data...
builtin-fetch-pack.c Loading commit data...
builtin-fetch.c Loading commit data...
builtin-fmt-merge-msg.c Loading commit data...
builtin-for-each-ref.c Loading commit data...
builtin-fsck.c Loading commit data...
builtin-gc.c Loading commit data...
builtin-grep.c Loading commit data...
builtin-http-fetch.c Loading commit data...
builtin-init-db.c Loading commit data...
builtin-log.c Loading commit data...
builtin-ls-files.c Loading commit data...
builtin-ls-remote.c Loading commit data...
builtin-ls-tree.c Loading commit data...
builtin-mailinfo.c Loading commit data...
builtin-mailsplit.c Loading commit data...
builtin-merge-base.c Loading commit data...
builtin-merge-file.c Loading commit data...
builtin-merge-ours.c Loading commit data...
builtin-merge-recursive.c Loading commit data...
builtin-mv.c Loading commit data...
builtin-name-rev.c Loading commit data...
builtin-pack-objects.c Loading commit data...
builtin-pack-refs.c Loading commit data...
builtin-prune-packed.c Loading commit data...
builtin-prune.c Loading commit data...
builtin-push.c Loading commit data...
builtin-read-tree.c Loading commit data...
builtin-reflog.c Loading commit data...
builtin-remote.c Loading commit data...
builtin-rerere.c Loading commit data...
builtin-reset.c Loading commit data...
builtin-rev-list.c Loading commit data...
builtin-rev-parse.c Loading commit data...
builtin-revert.c Loading commit data...
builtin-rm.c Loading commit data...
builtin-send-pack.c Loading commit data...
builtin-shortlog.c Loading commit data...
builtin-show-branch.c Loading commit data...
builtin-show-ref.c Loading commit data...
builtin-stripspace.c Loading commit data...
builtin-symbolic-ref.c Loading commit data...
builtin-tag.c Loading commit data...
builtin-tar-tree.c Loading commit data...
builtin-unpack-objects.c Loading commit data...
builtin-update-index.c Loading commit data...
builtin-update-ref.c Loading commit data...
builtin-upload-archive.c Loading commit data...
builtin-verify-pack.c Loading commit data...
builtin-verify-tag.c Loading commit data...
builtin-write-tree.c Loading commit data...
builtin.h Loading commit data...
bundle.c Loading commit data...
bundle.h Loading commit data...
cache-tree.c Loading commit data...
cache-tree.h Loading commit data...
cache.h Loading commit data...
check-builtins.sh Loading commit data...
check-racy.c Loading commit data...
check_bindir Loading commit data...
color.c Loading commit data...
color.h Loading commit data...
combine-diff.c Loading commit data...
command-list.txt Loading commit data...
commit.c Loading commit data...
commit.h Loading commit data...
config.c Loading commit data...
config.mak.in Loading commit data...
configure.ac Loading commit data...
connect.c Loading commit data...
convert.c Loading commit data...
copy.c Loading commit data...
csum-file.c Loading commit data...
csum-file.h Loading commit data...
ctype.c Loading commit data...
daemon.c Loading commit data...
date.c Loading commit data...
decorate.c Loading commit data...
decorate.h Loading commit data...
delta.h Loading commit data...
diff-delta.c Loading commit data...
diff-lib.c Loading commit data...
diff-no-index.c Loading commit data...
diff.c Loading commit data...
diff.h Loading commit data...
diffcore-break.c Loading commit data...
diffcore-delta.c Loading commit data...
diffcore-order.c Loading commit data...
diffcore-pickaxe.c Loading commit data...
diffcore-rename.c Loading commit data...
diffcore.h Loading commit data...
dir.c Loading commit data...
dir.h Loading commit data...
dump-cache-tree.c Loading commit data...
entry.c Loading commit data...
environment.c Loading commit data...
exec_cmd.c Loading commit data...
exec_cmd.h Loading commit data...
fast-import.c Loading commit data...
fetch-pack.h Loading commit data...
fixup-builtins Loading commit data...
fsck.c Loading commit data...
fsck.h Loading commit data...
generate-cmdlist.sh Loading commit data...
git-add--interactive.perl Loading commit data...
git-am.sh Loading commit data...
git-archimport.perl Loading commit data...
git-bisect.sh Loading commit data...
git-compat-util.h Loading commit data...
git-cvsexportcommit.perl Loading commit data...
git-cvsimport.perl Loading commit data...
git-cvsserver.perl Loading commit data...
git-filter-branch.sh Loading commit data...
git-instaweb.sh Loading commit data...
git-lost-found.sh Loading commit data...
git-merge-octopus.sh Loading commit data...
git-merge-one-file.sh Loading commit data...
git-merge-resolve.sh Loading commit data...
git-merge.sh Loading commit data...
git-mergetool.sh Loading commit data...
git-parse-remote.sh Loading commit data...
git-pull.sh Loading commit data...
git-quiltimport.sh Loading commit data...
git-rebase--interactive.sh Loading commit data...
git-rebase.sh Loading commit data...
git-relink.perl Loading commit data...
git-repack.sh Loading commit data...
git-request-pull.sh Loading commit data...
git-send-email.perl Loading commit data...
git-sh-setup.sh Loading commit data...
git-stash.sh Loading commit data...
git-submodule.sh Loading commit data...
git-svn.perl Loading commit data...
git-web--browse.sh Loading commit data...
git.c Loading commit data...
git.spec.in Loading commit data...
graph.c Loading commit data...
graph.h Loading commit data...
grep.c Loading commit data...
grep.h Loading commit data...
hash-object.c Loading commit data...
hash.c Loading commit data...
hash.h Loading commit data...
help.c Loading commit data...
http-push.c Loading commit data...
http-walker.c Loading commit data...
http.c Loading commit data...
http.h Loading commit data...
ident.c Loading commit data...
imap-send.c Loading commit data...
index-pack.c Loading commit data...
interpolate.c Loading commit data...
interpolate.h Loading commit data...
list-objects.c Loading commit data...
list-objects.h Loading commit data...
ll-merge.c Loading commit data...
ll-merge.h Loading commit data...
lockfile.c Loading commit data...
log-tree.c Loading commit data...
log-tree.h Loading commit data...
mailmap.c Loading commit data...
mailmap.h Loading commit data...
match-trees.c Loading commit data...
merge-file.c Loading commit data...
merge-index.c Loading commit data...
merge-recursive.h Loading commit data...
merge-tree.c Loading commit data...
mktag.c Loading commit data...
mktree.c Loading commit data...
name-hash.c Loading commit data...
object.c Loading commit data...
object.h Loading commit data...
pack-check.c Loading commit data...
pack-redundant.c Loading commit data...
pack-refs.c Loading commit data...
pack-refs.h Loading commit data...
pack-revindex.c Loading commit data...
pack-revindex.h Loading commit data...
pack-write.c Loading commit data...
pack.h Loading commit data...
pager.c Loading commit data...
parse-options.c Loading commit data...
parse-options.h Loading commit data...
patch-delta.c Loading commit data...
patch-id.c Loading commit data...
patch-ids.c Loading commit data...
patch-ids.h Loading commit data...
path-list.c Loading commit data...
path-list.h Loading commit data...
path.c Loading commit data...
pkt-line.c Loading commit data...
pkt-line.h Loading commit data...
pretty.c Loading commit data...
progress.c Loading commit data...
progress.h Loading commit data...
quote.c Loading commit data...
quote.h Loading commit data...
reachable.c Loading commit data...
reachable.h Loading commit data...
read-cache.c Loading commit data...
receive-pack.c Loading commit data...
reflog-walk.c Loading commit data...
reflog-walk.h Loading commit data...
refs.c Loading commit data...
refs.h Loading commit data...
remote.c Loading commit data...
remote.h Loading commit data...
revision.c Loading commit data...
revision.h Loading commit data...
run-command.c Loading commit data...
run-command.h Loading commit data...
send-pack.h Loading commit data...
server-info.c Loading commit data...
setup.c Loading commit data...
sha1-lookup.c Loading commit data...
sha1-lookup.h Loading commit data...
sha1_file.c Loading commit data...
sha1_name.c Loading commit data...
shallow.c Loading commit data...
shell.c Loading commit data...
shortlog.h Loading commit data...
show-index.c Loading commit data...
sideband.c Loading commit data...
sideband.h Loading commit data...
strbuf.c Loading commit data...
strbuf.h Loading commit data...
symlinks.c Loading commit data...
tag.c Loading commit data...
tag.h Loading commit data...
tar.h Loading commit data...
test-chmtime.c Loading commit data...
test-date.c Loading commit data...
test-delta.c Loading commit data...
test-genrandom.c Loading commit data...
test-match-trees.c Loading commit data...
test-parse-options.c Loading commit data...
test-path-utils.c Loading commit data...
test-sha1.c Loading commit data...
test-sha1.sh Loading commit data...
thread-utils.c Loading commit data...
thread-utils.h Loading commit data...
trace.c Loading commit data...
transport.c Loading commit data...
transport.h Loading commit data...
tree-diff.c Loading commit data...
tree-walk.c Loading commit data...
tree-walk.h Loading commit data...
tree.c Loading commit data...
tree.h Loading commit data...
unpack-file.c Loading commit data...
unpack-trees.c Loading commit data...
unpack-trees.h Loading commit data...
update-server-info.c Loading commit data...
upload-pack.c Loading commit data...
usage.c Loading commit data...
utf8.c Loading commit data...
utf8.h Loading commit data...
var.c Loading commit data...
walker.c Loading commit data...
walker.h Loading commit data...
wrapper.c Loading commit data...
write_or_die.c Loading commit data...
ws.c Loading commit data...
wt-status.c Loading commit data...
wt-status.h Loading commit data...
xdiff-interface.c Loading commit data...
xdiff-interface.h Loading commit data...