Re: [PATCH 1/2] stash: fix USAGE text
From: Junio C Hamano <hidden>
Date: 2017-01-09 01:48:57
Marc Strapetz [off-list ref] writes:
Add missing usage description for stash subcommands 'create' and 'store'.
I think we didn't add them to usage description when we added them because these two are not end-user facing commands but for script writers (who do not use "$ git stash -h <ENTER>" to learn how to use). I dunno.
quoted hunk
Signed-off-by: Marc Strapetz <redacted> --- git-stash.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)diff --git a/git-stash.sh b/git-stash.sh index 10c284d1a..c6b9db694 100755 --- a/git-stash.sh +++ b/git-stash.sh@@ -9,7 +9,9 @@ USAGE="list [<options>] or: $dashless branch <branchname> [<stash>] or: $dashless [save [--patch] [-k|--[no-]keep-index] [-q|--quiet] [-u|--include-untracked] [-a|--all] [<message>]] - or: $dashless clear" + or: $dashless clear + or: $dashless create [<message>] + or: $dashless store [-m|--message <message>] [-q|--quiet] <commit>" SUBDIRECTORY_OK=Yes OPTIONS_SPEC=