From: Matthieu Moy Date: Fri, 5 Mar 2010 18:43:23 +0000 (+0100) Subject: stash: suggest the correct command line for unknown options. X-Git-Tag: v1.7.0.2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d005922bc781c1f6ec9ae0af466f308a7576612;p=git.git stash: suggest the correct command line for unknown options. Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- diff --git a/git-stash.sh b/git-stash.sh index 2d6919639..aa47e541e 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -151,6 +151,7 @@ save_stash () { ;; -*) echo "error: unknown option for 'stash save': $1" + echo " To provide a message, use git stash save -- '$1'" usage ;; *)