[Python-ideas] Poll about -h,--help options

Ben Finney ben+python at benfinney.id.au
Sun Apr 14 03:41:13 CEST 2013


anatoly techtonik <techtonik at gmail.com>
writes:

> Is it interesting to know if people expect -h to work as a --help
> equivalent by default?

There are too many existing tools that make use of ‘-h’ for other things
(e.g. “hostname to connect to”) for me to expect it to mean “help” by
default.

If I'm expecting an option to be a short name for “help”, it would be
‘-?’.

-- 
 \          “One bad programmer can easily create two new jobs a year. |
  `\      Hiring more bad programmers will just increase our perceived |
_o__)                     need for them.” —David Lorge Parnas, 1999-03 |
Ben Finney




More information about the Python-ideas mailing list