Re: [PATCH 1/2] stash: fix USAGE text
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 9, 2017, 01:48 UTC
- Message-ID
- <xmqqpojxypdr.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170103155356.11213-1-marc.strapetz@syntevo.com>
Marc Strapetz <marc.strapetz@syntevo.com> 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.
Show 20 quoted lines
> Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com> > --- > 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=