diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2010-03-05 19:43:23 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-06 20:00:42 -0800 |
commit | 5d005922bc781c1f6ec9ae0af466f308a7576612 (patch) | |
tree | b5d889b7e55a5b9e0a125b7c4f34b12b1438c2e7 | |
parent | c9c8c56e072ae568b480eb1a808bd172bf373431 (diff) | |
download | git-5d005922bc781c1f6ec9ae0af466f308a7576612.tar.gz git-5d005922bc781c1f6ec9ae0af466f308a7576612.tar.xz |
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>
-rwxr-xr-x | git-stash.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 ;; *) |