# [PATCH] git-stash: fix usage string

2 messages from 2007-07-02 to 2007-07-02. Participants: しらいしななこ, Johannes Schindelin.
Thread: https://gitlist.dev/t/8823

## しらいしななこ, 2007-07-02 22:41

Subject: [PATCH] git-stash: fix usage string
Message-ID: <20070624192216.6117@nanako3.bluebottle.com>
URL: https://gitlist.dev/e/20070624192216.6117%40nanako3.bluebottle.com

```
The command requires an explicit "save" subcommand, but the usage string
does not talk about it.

This matches the usage string with the SYNOPSIS string in the documentation.

Signed-off-by: Nanako Shiraishi <nanako3@bluebottle.com>
---

I do not know if my opinion matters much but I think it is nicer to save a
new stash without a subcommand than to list existing stash data.

 git-stash.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-stash.sh b/git-stash.sh
index 18d3322..62f9f7a 100755
--- a/git-stash.sh
+++ b/git-stash.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Copyright (c) 2007, Nanako Shiraishi
 
-USAGE='[ | list | show | apply | clear]'
+USAGE='(save | list | show [<stash>] | apply [<stash>] | clear)'
 
 . git-sh-setup
 require_work_tree
-- 
1.5.2

-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/

----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com

```

## Johannes Schindelin, 2007-07-02 22:56

Subject: Re: [PATCH] git-stash: fix usage string
Message-ID: <Pine.LNX.4.64.0707022356270.4071@racer.site>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0707022356270.4071%40racer.site
In-Reply-To: <20070624192216.6117@nanako3.bluebottle.com>

```
Hi,

On Tue, 3 Jul 2007, しらいしななこ wrote:

> I do not know if my opinion matters much [...]

It does! After all, code talks, and you wrote it.

Ciao,
Dscho

```
