@matheusbsbs / matheus-bagliano / commits / 9678faaaff
Fork 0

git-repack: Usage string clean-up, emit usage at incorrect invocation

Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>

freku045@student.liu.se committed Dec 13, 2005 at 23:30 UTC 9678faaaffd3eba057bf1cb643399c5a5365a611
1 file changed +2 -1
git-repack.sh
+2 -1
@@ -3,6 +3,7 @@
3 # Copyright (c) 2005 Linus Torvalds
4 #
5
6 +USAGE='[-a] [-d] [-l] [-n]'
7 . git-sh-setup
8
9 no_update_info= all_into_one= remove_redundant= local=
@@ -13,7 +14,7 @@ do
14 -a) all_into_one=t ;;
15 -d) remove_redundant=t ;;
16 -l) local=t ;;
16 - *) break ;;
17 + *) usage ;;
18 esac
19 shift
20 done