From: Junio C Hamano Date: Sat, 26 Jan 2008 06:20:41 GMT Subject: Re: [PATCH] Check for -amend as a common wrong usage of --amend. Message-ID: <7vd4rp3y6e.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080124204711.GC17765@kodama.kitenet.net> Joey Hess writes: > Some option parsers avoid this sort of ambiguity by not allowing short > options that take a string to be bundled in the same word with other > short options. > > So, for example, git-commit -am would not be allowed, while > git-commit -a -m and perhaps git-commit -am would be allowed. > > There could still be problems if there were a --mend option that could > be typoed as -mend. > > I don't know enough about compatability to say if this would work for git. Yeah, I think that is quite a sensible workaround.