threads / discuss / 34793

[BUGLET] Short form of options with an optional parameter are not very clear

Subject: [BUGLET] Short form of options with an optional parameter are not very clear

## tl;dr

One message between Aug 29, 2013 and Aug 29, 2013.

replies: 0people: 1as markdown or json

Yann Dirson· Aug 29, 2013, 09:40 UTC · lore

I just stumbled over the "git status -uno" form, and it took me some time to realize that "no" was a parameter to -u, rather than aggregated (and undocumented) -n and -o.

Whereas the manpage does document the "-u[<mode>]" syntax, which dissipate the misunderstanding, --help output does not, listing "-u" in a way that appears not to take any option.

Looks like the --help output would gain from having the optional parameter displayed in the short form...

-- 
Yann Dirson - Bertin Technologies

← back to recent threads