From: freku045@student.liu.se Date: Tue, 13 Dec 2005 22:30:31 GMT Subject: [PATCH 7/11] git-fetch: Usage string clean-up, emit usage string at unrecognized option Message-ID: <11345130313062-git-send-email-freku045@student.liu.se> In-Reply-To: <11345130302438-git-send-email-freku045@student.liu.se> Signed-off-by: Fredrik Kuivinen --- git-fetch.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) 64d3f091f8cfa405ee479f49c4890ae452ac0afd diff --git a/git-fetch.sh b/git-fetch.sh index 14ea295..767ca61 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 ;; -- 0.99.9.GIT