Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] git-stash: Display help message if git-stash is run with wrong sub-commands

From: Wayne Davison <hidden>
Date: 2016-06-15 22:43:56

On Mon, Dec 03, 2007 at 10:25:17AM +0000, Johannes Schindelin wrote:
But those are not really options, are they?  They are commands, which 
exclude each other.
Option syntax is often used to represent exclusive commands, especially
when those commands need to be distinguished from free-form arg words.
The "git checkout" command is another example of this in git, and there
are plenty of non-git examples of such a use of option syntax around.
Such a syntax makes it easier to have a default action while still
taking a free-form arg.  I personally think that using option syntax
for its behavior choices would be preferable with git stash.

..wayne..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help