summaryrefslogtreecommitdiff
path: root/git-stash.sh
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2010-03-05 19:43:23 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-06 20:00:42 -0800
commit5d005922bc781c1f6ec9ae0af466f308a7576612 (patch)
treeb5d889b7e55a5b9e0a125b7c4f34b12b1438c2e7 /git-stash.sh
parentc9c8c56e072ae568b480eb1a808bd172bf373431 (diff)
downloadgit-5d005922bc781c1f6ec9ae0af466f308a7576612.tar.gz
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-xgit-stash.sh1
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
;;
*)