Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix %run usage line; mention -m and -e

  • Loading branch information...
commit 677bbef937b6bf2752c0ca385a3ba40b194495ec 1 parent b224345
@tkf authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 IPython/core/magics/execution.py
View
6 IPython/core/magics/execution.py
@@ -321,8 +321,10 @@ def run(self, parameter_s='', runner=None,
file_finder=get_py_filename):
"""Run the named file inside IPython as a program.
- Usage:\\
- %run [-n -i -t [-N<N>] -d [-b<N>] -p [profile options] -G] file [args]
+ Usage:
+ %run [-n -i -e -G]
+ [( -t [-N<N>] | -d [-b<N>] | -p [profile options] )]
+ ( -m mod | file ) [args]
Parameters after the filename are passed as command-line arguments to
the program (put in sys.argv). Then, control returns to IPython's
Please sign in to comment.
Something went wrong with that request. Please try again.