提交 87358b7a 编写于 作者: F freku045@student.liu.se 提交者: Junio C Hamano

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

Signed-off-by: NFredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 43a95cfb
#!/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
;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册