git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-stash: fix usage string

From
しらいしななこ <nanako3@bluebottle.com>
Date
Jul 2, 2007, 22:41 UTC
Message-ID
<20070624192216.6117@nanako3.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
Next: Johannes Schindelin
Message 1 of 2 in “git-stash: fix usage string”
  1. git-stash: fix usage stringしらいしななこ, Jul 2, 2007
  2. Johannes SchindelinJul 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.