Message356019
That's an interesting question. There is much prior art here dating back to the earliest days of Unix. The Open Group Base Specification has a section dealing with the syntax of utility arguments with suggestions of when or when not a space between the option and the option argument is needed and how to document the difference, i.e.
[-c option_argument] vs [-f[option_argument]]
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_01
It looks like the Python man page already sort of uses this syntax but the Python Setup and Usage doc may have different conventions. If someone wants to pursue this, they might check all the options and provide a PR with any needed updates to the man page and the doc page. A change in behavior of the command option processing is probably not a good idea at this point unless there is some demonstrable error or ambiguity. |
|
Date |
User |
Action |
Args |
2019-11-05 10:49:07 | ned.deily | set | recipients:
+ ned.deily, docs@python, jgors |
2019-11-05 10:49:07 | ned.deily | set | messageid: <1572950947.78.0.945999930066.issue38690@roundup.psfhosted.org> |
2019-11-05 10:49:07 | ned.deily | link | issue38690 messages |
2019-11-05 10:49:07 | ned.deily | create | |
|