nodeca / argparse

CLI arguments parser for node.js. JS port of python's argparse module.
Other
487 stars 73 forks source link

Change 'usage:' to 'Usage:' #127

Closed Treppenhouse closed 5 years ago

Treppenhouse commented 6 years ago

In the default help text, both "Optional arguments:" and "Examples:" start with an upper-case letter.

For consistency reasons, the literal "usage:" should therefore be changed to "Usage:".

I looked through some of the --help pages of popular linux commands like ls, cp, mkdir, mv, rm, etc. and they all use "Usage:" instead of "usage:".

puzrin commented 5 years ago

We should use the same phrases as upstream, because this is a port. Does upstream use capitalisation or not?

Treppenhouse commented 5 years ago

With 'upstream' do you mean the Python project? If so, they do indeed use the lower case variant...

(I definitely think it's an inconsistency on their part as well.)

If the purpose of this JavaScript implementation is to strictly follow the python implementation's behaviour then I guess we can close the issue.

puzrin commented 5 years ago

With 'upstream' do you mean the Python project?

yes