Commit ce3dd0bd authored by Senthil Kumaran's avatar Senthil Kumaran

Add -b and -X options to python man page.

Patch contributed by Corey Brune.
parent fdf95030
...@@ -11,6 +11,9 @@ python \- an interpreted, interactive, object-oriented programming language ...@@ -11,6 +11,9 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-B .B \-B
] ]
[ [
.B \-b
]
[
.B \-d .B \-d
] ]
[ [
...@@ -26,11 +29,11 @@ python \- an interpreted, interactive, object-oriented programming language ...@@ -26,11 +29,11 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-m .B \-m
.I module-name .I module-name
] ]
[
.B \-q
]
.br .br
[ [
.B \-q
]
[
.B \-O .B \-O
] ]
[ [
...@@ -60,6 +63,10 @@ python \- an interpreted, interactive, object-oriented programming language ...@@ -60,6 +63,10 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-x .B \-x
] ]
[ [
[
.B \-X
.I option
]
.B \-? .B \-?
] ]
.br .br
...@@ -105,6 +112,10 @@ Don't write ...@@ -105,6 +112,10 @@ Don't write
.I .py[co] .I .py[co]
files on import. See also PYTHONDONTWRITEBYTECODE. files on import. See also PYTHONDONTWRITEBYTECODE.
.TP .TP
.B \-b
Issue warnings about str(bytes_instance), str(bytearray_instance)
and comparing bytes/bytearray with str. (-bb: issue errors)
.TP
.BI "\-c " command .BI "\-c " command
Specify the command to execute (see next section). Specify the command to execute (see next section).
This terminates the option list (following options are passed as This terminates the option list (following options are passed as
...@@ -243,6 +254,9 @@ case-sensitive. The ...@@ -243,6 +254,9 @@ case-sensitive. The
field matches the line number, where zero matches all line numbers and field matches the line number, where zero matches all line numbers and
is thus equivalent to an omitted line number. is thus equivalent to an omitted line number.
.TP .TP
.BI "\-X " option
Set implementation specific option.
.TP
.B \-x .B \-x
Skip the first line of the source. This is intended for a DOS Skip the first line of the source. This is intended for a DOS
specific hack only. Warning: the line numbers in error messages will specific hack only. Warning: the line numbers in error messages will
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment