git-fetch: Usage string clean-up, emit usage string at unrecognized option

Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
freku045@student.liu.se 2005-12-13 23:30:31 +01:00 committed by Junio C Hamano
parent 43a95cfbc9
commit 87358b7a19

View File

@ -1,5 +1,7 @@
#!/bin/sh
#
USAGE='<fetch-options> <repository> <refspec>...'
. git-sh-setup
. git-parse-remote
_x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
@ -34,6 +36,9 @@ do
-v|--verbose)
verbose=Yes
;;
-*)
usage
;;
*)
break
;;