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..