summaryrefslogtreecommitdiffstats
path: root/Doc/library/optparse.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #11699: fix documentation of OptionParser.get_option_group. Patch by ↵Eli Bendersky2011-07-301-2/+3
| | | | Petri Lehtinen
* Merged revisions ↵Georg Brandl2011-02-251-25/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87627,87638,87760,87986,88108,88115,88165,88263,88329,88364-88365,88423-88424 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line #1665333: add more docs for optparse.OptionGroup. ........ r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line Fix code indentation. ........ r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line Fix duplicate end tag. ........ r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line Fix the example output of count(). ........ r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line Suppress trailing spaces in table paragraphs. ........ r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line #10944: add c_bool to types table. ........ r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line Typo fix. ........ r88263 | georg.brandl | 2011-01-30 13:19:35 +0100 (So, 30 Jan 2011) | 1 line #10680: fix mutually exclusive arguments in argument groups. ........ r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line Punctuation typos. ........ r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line #11138: fix order of fill and align specifiers. ........ r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line #8691: document that right alignment is default for numbers. ........ r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line Apply logging SocketHandler doc update by Vinay. ........ r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line Remove editing slip. ........
* Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via ↵Éric Araujo2010-12-161-80/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines Fix usage of :option: in the docs (#9312). :option: is used to create a link to an option of python, not to mark up any instance of any arbitrary command-line option. These were changed to ````. For modules which do have a command-line interface, lists of options have been properly marked up with the program/cmdoption directives combo. Options defined in such blocks can be linked to with :option: later in the same file, they won’t link to an option of python. Finally, the markup of command-line fragments in optparse.rst has been cleaned to use ``x`` instead of ``"x"``, keeping that latter form for actual Python strings. Patch by Eli Bendersky and Éric Araujo. ........ r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines Style edits in followup to r86521 (#9312) ........ r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines Use link-generating markup (see #9312) ........ r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines Rewrap long lines + minor edits ........ r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines No need to generate a link for something that’s just above. ........ r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines Advertise “python -m” instead of direct filename. ........ r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines Advertise “python -m test” over test.regrtest (r87296 followup) ........ r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines Add versionadded directive missing from r78983. ........
* Merged revisions 85274 via svnmerge fromGeorg Brandl2010-10-061-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85274 | georg.brandl | 2010-10-06 12:26:05 +0200 (Mi, 06 Okt 2010) | 1 line Fix errors found by "make suspicious". ........
* Merged revisions 83385-83389,83391 via svnmerge fromGeorg Brandl2010-08-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83385 | georg.brandl | 2010-08-01 08:42:45 +0200 (So, 01 Aug 2010) | 1 line #8773: mailbox.py does not need to be executable. ........ r83386 | georg.brandl | 2010-08-01 08:44:46 +0200 (So, 01 Aug 2010) | 1 line #8768: name test method properly so that it gets executed. ........ r83387 | georg.brandl | 2010-08-01 08:53:28 +0200 (So, 01 Aug 2010) | 1 line #8735: better explain semantics of *values* argument for parse(). ........ r83388 | georg.brandl | 2010-08-01 09:48:43 +0200 (So, 01 Aug 2010) | 1 line #7395: fix traceback in do_add() when no stats are loaded. Apply same fix for do_sort() and do_reverse(). ........ r83389 | georg.brandl | 2010-08-01 09:57:47 +0200 (So, 01 Aug 2010) | 1 line Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended. ........ r83391 | georg.brandl | 2010-08-01 10:10:08 +0200 (So, 01 Aug 2010) | 1 line Add another news entry. ........
* argparse documentation updates (including updates to optparse and getopt ↵Steven Bethard2010-05-241-1/+6
| | | | documentation that were promised in the PEP)
* Fixed Issue8209 - OptionParser keyword arg 'epilog' not mentioned in the docsSenthil Kumaran2010-03-231-1/+2
|
* Initial commit of the argparse library, based on argparse 1.1.Steven Bethard2010-03-021-3/+3
| | | | | Docs still need some updating to make getopt and optparse match the wording promised in the PEP. There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.
* #3340: document print/get_usage and print/get_versionEzio Melotti2010-01-041-0/+26
|
* #7618: fix highlight of code blocksEzio Melotti2010-01-031-7/+19
|
* #7404: remove reference to non-existing example files.Georg Brandl2009-12-281-3/+1
|
* Make the optparse doc style a bit more standard: use standard description ↵Georg Brandl2009-09-171-454/+510
| | | | units for attrs/methods/etc., and use the correct referencing roles.
* Remove duplicate doc of enable/disable_interspersed_args.Georg Brandl2009-09-171-27/+19
|
* String values should be shown with quotes, to avoid confusion with constants.Georg Brandl2009-09-171-23/+23
|
* #6892: fix optparse example involving help option.Georg Brandl2009-09-161-1/+4
|
* Remove strange trailing commas.Georg Brandl2009-09-161-3/+3
|
* #6638: fix wrong parameter name and markup a class.Georg Brandl2009-09-011-3/+4
|
* #6577: fix (hopefully) all links to builtin instead of module/class-specific ↵Georg Brandl2009-07-261-19/+19
| | | | objects.
* #6371: fix link targets.Georg Brandl2009-06-301-2/+2
|
* #6009: undocument default argument of Option as deprecated.Georg Brandl2009-05-161-2/+2
|
* #4827: fix callback example.Georg Brandl2009-02-051-1/+1
|
* #5153: fix typo in example.Georg Brandl2009-02-051-1/+1
|
* Remove tabs from the documentation.Georg Brandl2009-01-031-6/+6
|
* Remove trailing whitespace.Georg Brandl2009-01-031-1/+1
|
* #4568: remove limitation in varargs callback example.Georg Brandl2008-12-151-25/+22
|
* Markup fixes. (optparse.rst probably needs an entire revision pass.)Andrew M. Kuchling2008-09-301-14/+14
|
* #1415508: Document two functionsAndrew M. Kuchling2008-09-281-6/+21
|
* Added xrefs to each other.Mark Summerfield2008-09-081-1/+1
|
* #3040: include 'dest' argument in example; trim some trailing whitespaceAndrew M. Kuchling2008-09-061-3/+3
|
* Clarification.Georg Brandl2008-06-131-3/+3
|
* #2673 Fix example typo in optparse docsBenjamin Peterson2008-04-231-1/+1
|
* #2476: document that %default feature is new in 2.4.Georg Brandl2008-03-251-4/+5
|
* Part of #2154: minimal syntax fixes in doc example snippets.Georg Brandl2008-02-211-1/+1
|
* Bug 1296: restore text describing OptionGroupAndrew M. Kuchling2008-01-191-0/+29
|
* Some cleanup in the docs.Georg Brandl2007-12-291-20/+0
|
* Fix typo and double word.Georg Brandl2007-09-241-2/+2
|
* Move the 2.6 reST doc tree in place.Georg Brandl2007-08-151-0/+1827