New submission from Steve Carter:

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.]

----------
assignee: docs@python
components: Documentation
messages: 289569
nosy: docs@python, sweavo
priority: normal
severity: normal
status: open
title: ArgParse page in library reference rewrite
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29807>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to