top | item 38968612

(no title)

darnir | 2 years ago

That used to be a fairly common standard. You'll notice nearly all the old GNU / BSD tooling use this paradigm. It is even codified in GNU's coding principles. In fact, when you do that, you can even merge all the single character flags together. For example, I can type, `ls -lah` instead of `ls -l -a -h`. Pretty handy.

My pet peeve is commands not supporting -h for help and making me write --help. This is especially worse when the command already supports single character arguments.

discuss

order

CableNinja|2 years ago

Dont forget when it provides -help but not --help, and -h is is an invalid argument.