Re: [PATCH 1/2] stash: fix USAGE text

2017-01-08 Thread Junio C Hamano
Marc Strapetz  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 " to learn how to
use).

I dunno.

> Signed-off-by: Marc Strapetz 
> ---
>  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 []
> or: $dashless branch  []
> or: $dashless [save [--patch] [-k|--[no-]keep-index] [-q|--quiet]
>  [-u|--include-untracked] [-a|--all] []]
> -   or: $dashless clear"
> +   or: $dashless clear
> +   or: $dashless create []
> +   or: $dashless store [-m|--message ] [-q|--quiet] "
>  
>  SUBDIRECTORY_OK=Yes
>  OPTIONS_SPEC=


[PATCH 1/2] stash: fix USAGE text

2017-01-03 Thread Marc Strapetz
Add missing usage description for stash subcommands
'create' and 'store'.

Signed-off-by: Marc Strapetz 
---
 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 []
or: $dashless branch  []
or: $dashless [save [--patch] [-k|--[no-]keep-index] [-q|--quiet]
   [-u|--include-untracked] [-a|--all] []]
-   or: $dashless clear"
+   or: $dashless clear
+   or: $dashless create []
+   or: $dashless store [-m|--message ] [-q|--quiet] "
 
 SUBDIRECTORY_OK=Yes
 OPTIONS_SPEC=
-- 
2.11.0