diff options
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; |