diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-14 17:30:03 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-14 17:30:03 -0800 |
commit | 1ed91937e5cd59fdbdfa5f15f6fac132d2b21ce0 (patch) | |
tree | f65b929c006c31043213152752ea0c80bf08b9e5 /git-prune.sh | |
parent | a9572072f0ab0ac97e64b0dc01254a3ad95befe1 (diff) | |
parent | 294c695d8cfbcf95a5c33fc6ba386f496964defb (diff) | |
download | git-1ed91937e5cd59fdbdfa5f15f6fac132d2b21ce0.tar.gz |
Oh, I hate to do this but I ended up merging big usage string
cleanups from Fredrik, git-am enhancements that made a lot of
sense for non mbox users from HPA, and rebase changes (done
independently by me and Lukas) among other things, so git is
still in perpetual state of 1.0rc. 1.0 will probably be next
Wednesday, but who knows.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-prune.sh')
-rwxr-xr-x | git-prune.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-prune.sh b/git-prune.sh index 7e7f0ad56d..7b61d05c4b 100755 --- a/git-prune.sh +++ b/git-prune.sh @@ -1,5 +1,6 @@ #!/bin/sh +USAGE='[-n] [--] [<head>...]' . git-sh-setup dryrun= @@ -9,7 +10,7 @@ do case "$1" in -n) dryrun=-n echo=echo ;; --) break ;; - -*) echo >&2 "usage: git-prune [ -n ] [ heads... ]"; exit 1 ;; + -*) usage ;; *) break ;; esac shift; |