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>
This commit is contained in:
parent
c9c8c56e07
commit
5d005922bc
@ -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
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user