@matheusbsbs / matheus-bagliano / commits / 5d005922bc
Fork 0

stash: suggest the correct command line for unknown options.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Matthieu Moy committed Mar 5, 2010 at 19:43 UTC 5d005922bc781c1f6ec9ae0af466f308a7576612
1 file changed +1
git-stash.sh
+1
@@ -151,6 +151,7 @@ save_stash () {
151 ;;
152 -*)
153 echo "error: unknown option for 'stash save': $1"
154 + echo " To provide a message, use git stash save -- '$1'"
155 usage
156 ;;
157 *)