summaryrefslogtreecommitdiff
path: root/git-repack.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-14 21:01:01 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-14 21:01:01 (GMT)
commitb0d3e9baaa16c805ef941e8f26d55fb23f091ef5 (patch)
tree142e8fb76c906de7b61b9bf55ab026bee2388aa3 /git-repack.sh
parenta4adf54d38ba49e58511aaafd18e99e6d3d4dabb (diff)
parent5073eb04d6f0e8ac2578140b9231817e2afefe50 (diff)
downloadgit-b0d3e9baaa16c805ef941e8f26d55fb23f091ef5.zip
git-b0d3e9baaa16c805ef941e8f26d55fb23f091ef5.tar.gz
git-b0d3e9baaa16c805ef941e8f26d55fb23f091ef5.tar.bz2
Merge branch 'fk/usage'
Diffstat (limited to 'git-repack.sh')
-rwxr-xr-xgit-repack.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-repack.sh b/git-repack.sh
index 430ddc5..1fafb6e 100755
--- a/git-repack.sh
+++ b/git-repack.sh
@@ -3,6 +3,7 @@
# Copyright (c) 2005 Linus Torvalds
#
+USAGE='[-a] [-d] [-l] [-n]'
. git-sh-setup
no_update_info= all_into_one= remove_redundant= local=
@@ -13,7 +14,7 @@ do
-a) all_into_one=t ;;
-d) remove_redundant=t ;;
-l) local=t ;;
- *) break ;;
+ *) usage ;;
esac
shift
done