[Python-checkins] r77198 - python/trunk/Doc/using/cmdline.rst

brett.cannon python-checkins at python.org
Fri Jan 1 02:44:58 CET 2010


Author: brett.cannon
Date: Fri Jan  1 02:44:57 2010
New Revision: 77198

Log:
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).


Modified:
   python/trunk/Doc/using/cmdline.rst

Modified: python/trunk/Doc/using/cmdline.rst
==============================================================================
--- python/trunk/Doc/using/cmdline.rst	(original)
+++ python/trunk/Doc/using/cmdline.rst	Fri Jan  1 02:44:57 2010
@@ -21,7 +21,7 @@
 
 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::
 
@@ -316,7 +316,7 @@
    :mod:`warnings` module.
 
    The simplest form of argument is one of the following action strings (or a
-   unique abbreviation):
+   unique abbreviation) by themselves:
 
    ``ignore``
       Ignore all warnings.
@@ -362,6 +362,8 @@
 
    .. note:: The line numbers in error messages will be off by one.
 
+.. XXX document -X?
+
 
 .. cmdoption:: -3
 


More information about the Python-checkins mailing list