|
|
|
|
|
by dec0dedab0de
67 days ago
|
|
That would be a perfectly reasonable convention, except it's already a convention that they do the same thing. Having them be different could cause someone to look at -h, and not even know about --help. Or if someone writes a script parsing the output of -h for some reason, someone else might come along and change it to --help expecting it to be the same thing. |
|
This convention existed before clap came into being, but I don't recall when I first saw it. I have been using the command line for just shy of 40 years across various operating systems.