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 /git-stash.sh | |
parent | t7406: Fix submodule init config tests (diff) | |
download | tgif-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>
Diffstat (limited to 'git-stash.sh')
-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 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 ;; *) |