Junio C Hamano [off-list ref] writes:
But I thought you were suggesting to [...] never take:
--opt <string> (even when --opt always takes an argument)
because that would further reduce one source of potential confusion
(i.e. the user needs to remember if --opt always takes an argument or
not). I thought you mentioned that neither parse-options nor GNU tools
take "--prune last",
No, I said the opposite: both do.
"--color auto" as a good supporting argument for this
"grep --color auto" is refused because the "auto" part is optional.
But both "grep --regex foo" and "grep --regexp=foo" are accepted. Same
for "git commit --message=foo" and "git commit --message foo".
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/