summaryrefslogtreecommitdiffstats
path: root/Doc/library/argparse.rst
Commit message (Collapse)AuthorAgeFilesLines
* - Issue #15935: Clarification of argparse docs, re: add_argument() type andBarry Warsaw2012-09-251-0/+14
| | | | default arguments. Patch contributed by Chris Jerdonek.
* #15831: document multiple signatures on different lines. Patch by Chris ↵Ezio Melotti2012-09-141-3/+6
| | | | Jerdonek.
* add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@Sandro Tosi2012-08-121-1/+1
|
* Issue #13685 - Update argparse help message for % sign usage.Senthil Kumaran2012-06-261-0/+3
|
* #14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe.Ezio Melotti2012-05-061-0/+6
|
* #10423: clarify options vs args in argparse discussion of optparseR David Murray2012-03-301-2/+3
| | | | Patch by Sandro Tosi.
* Issue #14410: fix typo in argparse doc; patch by Tshepang LekhonkhobeSandro Tosi2012-03-261-2/+2
|
* Add missing “::” markup.Éric Araujo2012-02-201-15/+16
| | | | Also wrap two looong lines.
* Issue #13605: use print() in argparse nargs exampleSandro Tosi2012-02-191-1/+1
|
* Issue #13605: more meaningful example + fixesSandro Tosi2012-01-191-5/+5
|
* Issue #13605: add documentation for nargs=argparse.REMAINDERSandro Tosi2012-01-191-0/+11
|
* Issue #10772: add count and help argparse action; patch by Marc SibsonSandro Tosi2012-01-041-0/+13
|
* Issue #9349: add argparse.SUPPRESS to help docSandro Tosi2012-01-031-0/+11
|
* Issue #13191: typo in argparse docsEli Bendersky2011-11-111-1/+1
|
* Fixes #13270: obsolete reference to old-style/new-style classes.Florent Xicluna2011-10-281-1/+1
|
* Fix some misuses of Sphinx roles and one typoÉric Araujo2011-09-011-1/+1
|
* Don’t quote characters twice.Éric Araujo2011-08-181-17/+17
| | | | | | | | | | ``code`` markup is enough to mark command-line fragments or to talk about a character. ``'c'`` is still used for actual Python string objects. I did a similar change in optparse.rst in r86521. I’ve also ported two minor changes from the 3.3 version of the file (removing an unnecessary module name in a class directive, adding a comma).
* Don’t use “arg” for “argument”Éric Araujo2011-08-181-15/+15
|
* Add a few missing source links from 2.7 and harmonize lib docs headersÉric Araujo2011-08-181-2/+2
|
* Use real word in English text (i.e. not code)Éric Araujo2011-08-101-19/+19
|
* Fix closes issue12663 - Correcting the ArgumentParser.error description. ↵Senthil Kumaran2011-08-021-1/+1
| | | | Patch by Sandro Tosi.
* Add a link target for argparse.Namespace (#8982)Éric Araujo2011-07-291-7/+10
|
* Fix some more markup glitches in argparse doc.Ezio Melotti2011-04-211-101/+113
|
* #11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.Ezio Melotti2011-04-211-1/+1
|
* #11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.Ezio Melotti2011-04-211-4/+4
|
* #11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.Ezio Melotti2011-04-211-1/+1
|
* Add the :mod: role where it was missing.Ezio Melotti2011-04-211-11/+11
|
* #11885: capitalize Python.Ezio Melotti2011-04-211-2/+2
|
* Fix a few more hyphens in argparse.rstEzio Melotti2011-04-161-3/+3
|
* Consistency fix: "command line" is the noun, "command-line" the adjective.Georg Brandl2011-04-161-18/+18
|
* Backport 8a9f8f34d9d5.Georg Brandl2011-04-161-1/+1
|
* Issue #9343: Document that argparse parent parsers must be configured before ↵Steven Bethard2011-03-261-0/+5
| | | | their children.
* Issue #8982: Improve the documentation for the argparse Namespace object.Steven Bethard2011-03-261-5/+16
|
* Merged revisions 88717 via svnmerge fromFred Drake2011-03-031-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines issue 11372: use range instead of xrange ........
* More source links.Raymond Hettinger2011-01-271-1/+5
|
* #10871: "file" does not exist anymore in Python 3. Also adapt the reprs of ↵Georg Brandl2011-01-091-14/+14
| | | | opened file objects.
* Wrap some long examples and signatures.Georg Brandl2011-01-091-7/+14
|
* #10728: the default for printing help is sys.stdout, not stderr.R. David Murray2010-12-181-2/+2
|
* Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg ↵Steven Bethard2010-12-181-1/+11
| | | | for beta2 on the tracker.
* Add example for the entry for argparseRaymond Hettinger2010-12-071-0/+1
|
* Remove unnecessary `object` base class in docs (#10366).Éric Araujo2010-11-221-1/+1
| | | | Also add a note about inheritance from `object` being default.
* Some markup and style fixes in argparse docs.Georg Brandl2010-10-171-21/+29
|
* #9112: document error() and exit() methods of ArgumentParser.Georg Brandl2010-10-171-1/+14
|
* Fix errors found by "make suspicious".Georg Brandl2010-10-061-7/+7
|
* #9444: use first of prefix_chars for help opt instead of raising errorR. David Murray2010-08-031-3/+18
| | | | | | | | | | | An argparse option parser created with a prefix_chars that did not include a '-' would happily add -h and --help options, and then throw an error when it tried to format the help because the - was an invalid prefix character. This patch makes it use the first character of prefix_chars as the character for the help options if and only if '-' is not one of the valid prefix_chars. Fix by Theodore Turocy, unit tests by Catherine Devlin.
* Fix indentation in example.Georg Brandl2010-07-261-2/+2
|
* Merged revisions 81318 via svnmerge fromEzio Melotti2010-05-271-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81318 | ezio.melotti | 2010-05-19 03:32:52 +0300 (Wed, 19 May 2010) | 1 line Fix typo in argparse doc. ........
* Merged revisions 81490 via svnmerge fromSteven Bethard2010-05-241-2/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81490 | steven.bethard | 2010-05-23 19:38:00 -0700 (Sun, 23 May 2010) | 1 line argparse documentation updates (including updates to optparse and getopt documentation that were promised in the PEP) ........
* Merged revisions 80150,80460-80461 via svnmerge fromGeorg Brandl2010-04-251-1/+1
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80150 | r.david.murray | 2010-04-17 17:45:38 +0200 (Sa, 17 Apr 2010) | 2 lines Update link to Apple Publication Style guide. ........ r80460 | georg.brandl | 2010-04-25 12:16:00 +0200 (So, 25 Apr 2010) | 1 line #8528: fix typo. ........ r80461 | georg.brandl | 2010-04-25 12:17:27 +0200 (So, 25 Apr 2010) | 1 line #8522: use with statement instead of try-finally for file handling. ........
* Merged revisions ↵Benjamin Peterson2010-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 78338,78345-78346,78561-78562,78566,78574,78581,78634,78660,78675 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78338 | andrew.kuchling | 2010-02-22 15:04:02 -0600 (Mon, 22 Feb 2010) | 4 lines Remove Tools/modulator, a reference to it in the docs, and a screenshot of it. (I asked the BDFL first, and he approved removing it. The last actual bugfix to Tools/modulator was in 2001; since then all changes have been search-and-replace: string methods, whitespace fixes, etc.) ........ r78345 | andrew.kuchling | 2010-02-22 17:10:52 -0600 (Mon, 22 Feb 2010) | 1 line #7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819). ........ r78346 | andrew.kuchling | 2010-02-22 17:12:00 -0600 (Mon, 22 Feb 2010) | 1 line #7706: add include guards where they're missing; required for Windows CE ........ r78561 | andrew.kuchling | 2010-03-01 13:51:43 -0600 (Mon, 01 Mar 2010) | 1 line #7191: describe more details of wbits parameter ........ r78562 | andrew.kuchling | 2010-03-01 14:11:57 -0600 (Mon, 01 Mar 2010) | 1 line #7637: avoid repeated-concatenation antipattern in example ........ r78566 | barry.warsaw | 2010-03-01 15:46:51 -0600 (Mon, 01 Mar 2010) | 4 lines Manually copy patch for bug 7250 from the release26-maint branch. I suck because I did this in the wrong order and couldn't smack svnmerge into submission. ........ r78574 | benjamin.peterson | 2010-03-01 17:25:13 -0600 (Mon, 01 Mar 2010) | 1 line remove CVS id ........ r78581 | michael.foord | 2010-03-02 08:22:15 -0600 (Tue, 02 Mar 2010) | 1 line Link correction in documentation. ........ r78634 | benjamin.peterson | 2010-03-03 15:28:25 -0600 (Wed, 03 Mar 2010) | 1 line rephrase ........ r78660 | dirkjan.ochtman | 2010-03-04 13:21:53 -0600 (Thu, 04 Mar 2010) | 4 lines Try to fix buildbot breakage from r78384. Thanks bitdancer and briancurtin for the help. ........ r78675 | florent.xicluna | 2010-03-04 19:12:14 -0600 (Thu, 04 Mar 2010) | 2 lines These line should not be there. ........