summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-10-07 12:04:50 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-10-07 12:04:50 (GMT)
commit166e625d6c1e37e014445ecf59568a089cb2e728 (patch)
tree748136df2065a0bc37f30785f6069a86ce572764 /Misc
parent5e3f9236c7d8dac5c54786d075cd601b8bafcade (diff)
downloadcpython-166e625d6c1e37e014445ecf59568a089cb2e728.zip
cpython-166e625d6c1e37e014445ecf59568a089cb2e728.tar.gz
cpython-166e625d6c1e37e014445ecf59568a089cb2e728.tar.bz2
Add -m to man page
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python.man11
1 files changed, 11 insertions, 0 deletions
diff --git a/Misc/python.man b/Misc/python.man
index 1e85a6b..01e884f 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -16,6 +16,10 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-i
]
[
+.B \-m
+.I module-name
+]
+[
.B \-O
]
.br
@@ -107,6 +111,13 @@ command. It does not read the $PYTHONSTARTUP file. This can be
useful to inspect global variables or a stack trace when a script
raises an exception.
.TP
+.BI "\-m " module-name
+Searches
+.I sys.path
+for the named module and runs the corresponding
+.I .py
+file as a script.
+.TP
.B \-O
Turn on basic optimizations. This changes the filename extension for
compiled (bytecode) files from