]> granicus.if.org Git - python/commitdiff
Add -m to man page
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 7 Oct 2004 12:04:50 +0000 (12:04 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 7 Oct 2004 12:04:50 +0000 (12:04 +0000)
Misc/python.man

index 1e85a6b42e47968bf024408b9276b7121c119c0d..01e884f4be80ab96f065af8fab16ea5b168b43ec 100644 (file)
@@ -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