Skip to content

Commit

Permalink
stash: suggest the correct command line for unknown options.
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Matthieu Moy authored and Junio C Hamano committed Mar 7, 2010
1 parent c9c8c56 commit 5d00592
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-stash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
*)
Expand Down

0 comments on commit 5d00592

Please sign in to comment.