Add some missing command-line options to the main list. All but -V were already

documented. Left -V undocumented for now (and -U was already undocumented).
This commit is contained in:
Brett Cannon 2010-01-01 01:44:57 +00:00
parent 0ef0b910ce
commit f31d1a0577
1 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,7 @@ Command line
When invoking Python, you may specify any of these options:: When invoking Python, you may specify any of these options::
python [-dEiOQsStuUvxX3?] [-c command | -m module-name | script | - ] [args] python [-BdEiOQsStuUvVWxX3?] [-c command | -m module-name | script | - ] [args]
The most common use case is, of course, a simple invocation of a script:: The most common use case is, of course, a simple invocation of a script::
@ -316,7 +316,7 @@ Miscellaneous options
:mod:`warnings` module. :mod:`warnings` module.
The simplest form of argument is one of the following action strings (or a The simplest form of argument is one of the following action strings (or a
unique abbreviation): unique abbreviation) by themselves:
``ignore`` ``ignore``
Ignore all warnings. Ignore all warnings.
@ -362,6 +362,8 @@ Miscellaneous options
.. note:: The line numbers in error messages will be off by one. .. note:: The line numbers in error messages will be off by one.
.. XXX document -X?
.. cmdoption:: -3 .. cmdoption:: -3