Permalink
Browse files

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

  • Loading branch information...
1 parent b224345 commit 677bbef937b6bf2752c0ca385a3ba40b194495ec @tkf committed Mar 26, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 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

0 comments on commit 677bbef

Please sign in to comment.