]> granicus.if.org Git - python/commitdiff
Added -b option to the list of command line options
authorChristian Heimes <christian@cheimes.de>
Fri, 7 Dec 2007 11:52:55 +0000 (11:52 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 7 Dec 2007 11:52:55 +0000 (11:52 +0000)
Doc/using/cmdline.rst

index 384788d6600959a26913f9c774dd7fab2559b130..3fe405a88b3ee37e757f2b105f5c68e47bf858d0 100644 (file)
@@ -21,7 +21,7 @@ Command line
 
 When invoking Python, you may specify any of these options::
 
-    python [-dEiOStuUvxX?] [-c command | -m module-name | script | - ] [args]
+    python [-bdEiOStuUvxX?] [-c command | -m module-name | script | - ] [args]
 
 The most common use case is, of course, a simple invocation of a script::
 
@@ -136,6 +136,12 @@ Generic options
 Miscellaneous options
 ~~~~~~~~~~~~~~~~~~~~~
 
+.. cmdoption:: -b
+
+   Issue a warning when comparing str and bytes. Issue an error when the
+   option is given twice (:option:`-bb`).
+
+
 .. cmdoption:: -d
 
    Turn on parser debugging output (for wizards only, depending on compilation