git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-stash: fix usage string
@ 2007-07-02 22:41 しらいしななこ
  2007-07-02 22:56 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: しらいしななこ @ 2007-07-02 22:41 UTC (permalink / raw)
  To: GIT

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] git-stash: fix usage string
  2007-07-02 22:41 [PATCH] git-stash: fix usage string しらいしななこ
@ 2007-07-02 22:56 ` Johannes Schindelin
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2007-07-02 22:56 UTC (permalink / raw)
  To: しらいしななこ; +Cc: GIT

[-- Attachment #1: Type: TEXT/PLAIN, Size: 168 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-02 22:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-02 22:41 [PATCH] git-stash: fix usage string しらいしななこ
2007-07-02 22:56 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).