From 87358b7a193e24ed6cbe0dd8287a5c558a8ac421 Mon Sep 17 00:00:00 2001 From: "freku045@student.liu.se" Date: Tue, 13 Dec 2005 23:30:31 +0100 Subject: git-fetch: Usage string clean-up, emit usage string at unrecognized option Signed-off-by: Fredrik Kuivinen Signed-off-by: Junio C Hamano --- git-fetch.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'git-fetch.sh') diff --git a/git-fetch.sh b/git-fetch.sh index 14ea295113..767ca61ca6 100755 --- a/git-fetch.sh +++ b/git-fetch.sh @@ -1,5 +1,7 @@ #!/bin/sh # + +USAGE=' ...' . 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 ;; -- cgit v1.2.3