From 5d005922bc781c1f6ec9ae0af466f308a7576612 Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Fri, 5 Mar 2010 19:43:23 +0100 Subject: [PATCH] stash: suggest the correct command line for unknown options. Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- git-stash.sh | 1 + 1 file changed, 1 insertion(+) 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 ;; *) -- 2.30.2