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.lorimer.id.au/gitweb.git/diff_plain/5d005922bc781c1f6ec9ae0af466f308a7576612?ds=inline;hp=--cc stash: suggest the correct command line for unknown options. Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- 5d005922bc781c1f6ec9ae0af466f308a7576612 diff --git a/git-stash.sh b/git-stash.sh index 2d69196393..aa47e541ee 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 ;; *)