This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sweavo
Recipients docs@python, sweavo
Date 2017-03-14.06:18:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489472284.38.0.40207115242.issue29807@psf.upfronthosting.co.za>
In-reply-to
Content
Originally raise as https://github.com/python/pythondotorg/issues/1059

Although it's a reference page, it is clouded by too many examples and too little reference material. Moreover, the examples are not real-world applications of argument parsing.

I propose removing the "process some integers" example, replacing it with something more typically gnu style, e.g., myapp.py [--quiet] [--log-level _n_] [--title=STR] {get | put} [FSPEC [, FSPEC...]]. This shows the user how to to many of the common command-line tasks.

[I'm tentatively offering to do this, but I haven't yet found the content I need to revise.]
History
Date User Action Args
2017-03-14 06:18:04sweavosetrecipients: + sweavo, docs@python
2017-03-14 06:18:04sweavosetmessageid: <1489472284.38.0.40207115242.issue29807@psf.upfronthosting.co.za>
2017-03-14 06:18:04sweavolinkissue29807 messages
2017-03-14 06:18:03sweavocreate