# [PATCH] stash doc: mention short form -k in save description

2 messages from 2014-02-21 to 2014-02-24. Participants: John Marshall, Junio C Hamano.
Thread: https://gitlist.dev/t/35927

## John Marshall, 2014-02-21 17:25

Subject: [PATCH] stash doc: mention short form -k in save description
Message-ID: <20140221172524.GA18357@sanger.ac.uk>
URL: https://gitlist.dev/e/20140221172524.GA18357%40sanger.ac.uk

```
Document --keep-index's short form -k in both main synopsis and
the save synopsis in the Options section.

Signed-off-by: John Marshall <jm18@sanger.ac.uk>
---
A very small documentation patch: I'd not read the main synopsis
carefully (just skipped to the save details!) and didn't realise 
that --keep-index had a short form...

 Documentation/git-stash.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index db7e803..375213f 100644
--- a/Documentation/git-stash.txt
+++ b/Documentation/git-stash.txt
@@ -44,7 +44,7 @@ is also possible).
 OPTIONS
 -------
 
-save [-p|--patch] [--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
+save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
 
 	Save your local modifications to a new 'stash', and run `git reset
 	--hard` to revert them.  The <message> part is optional and gives
-- 
1.8.3.4 (Apple Git-47)



-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

```

## Junio C Hamano, 2014-02-24 17:57

Subject: Re: [PATCH] stash doc: mention short form -k in save description
Message-ID: <xmqqeh2s9ywo.fsf@gitster.dls.corp.google.com>
URL: https://gitlist.dev/e/xmqqeh2s9ywo.fsf%40gitster.dls.corp.google.com
In-Reply-To: <20140221172524.GA18357@sanger.ac.uk>

```
John Marshall <jm18@sanger.ac.uk> writes:

> Document --keep-index's short form -k in both main synopsis and
> the save synopsis in the Options section.
>
> Signed-off-by: John Marshall <jm18@sanger.ac.uk>
> ---

Looks good; thanks.

> A very small documentation patch: I'd not read the main synopsis
> carefully (just skipped to the save details!) and didn't realise 
> that --keep-index had a short form...
>
>  Documentation/git-stash.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
> index db7e803..375213f 100644
> --- a/Documentation/git-stash.txt
> +++ b/Documentation/git-stash.txt
> @@ -44,7 +44,7 @@ is also possible).
>  OPTIONS
>  -------
>  
> -save [-p|--patch] [--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
> +save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
>  
>  	Save your local modifications to a new 'stash', and run `git reset
>  	--hard` to revert them.  The <message> part is optional and gives
> -- 
> 1.8.3.4 (Apple Git-47)

```
