Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 166e625

Browse files
committed
Add -m to man page
1 parent 5e3f923 commit 166e625

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Misc/python.man

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ python \- an interpreted, interactive, object-oriented programming language
1616
.B \-i
1717
]
1818
[
19+
.B \-m
20+
.I module-name
21+
]
22+
[
1923
.B \-O
2024
]
2125
.br
@@ -107,6 +111,13 @@ command. It does not read the $PYTHONSTARTUP file. This can be
107111
useful to inspect global variables or a stack trace when a script
108112
raises an exception.
109113
.TP
114+
.BI "\-m " module-name
115+
Searches
116+
.I sys.path
117+
for the named module and runs the corresponding
118+
.I .py
119+
file as a script.
120+
.TP
110121
.B \-O
111122
Turn on basic optimizations. This changes the filename extension for
112123
compiled (bytecode) files from

0 commit comments

Comments
 (0)