Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] git-stash: improve synopsis in help and manual page

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:10

Stephan Beyer [off-list ref] writes:
   btw, should the "create" command be used directly at all?
   Then a line for this should perhaps be added.
It's pretty much for Porcelain writer's consumption, so I do not think
it is worth adding it to command line help, even though it would be nice
to describe it in the documentation.
+dashless=$(basename "$0" | sed -e 's/-/ /')
+USAGE="list [<options>]
+   or: $dashless (show | drop | pop ) [<stash>]
+   or: $dashless [--index] apply [<stash>]
+   or: $dashless branch <branchname> [<stash>]
+   or: $dashless [--keep-index] [save [<message>]]
+   or: $dashless clear"
These --index and --keep-index are subcommand options and come after
them (i.e. apply/save).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help