Skip to contentSkip to conversation

git-stash: fix usage string

PATCH In review しらいしななこ 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-stash: fix usage string

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.

---

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(-)
git-stash.sh +1 -1
index 18d3322..62f9f7a 100755
@@ -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
Signature · 9 lines
1.5.2

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

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

Hi,

Quoted 1 line · しらいしななこ

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

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

Ciao,
Dscho