Show More
@@ -142,6 +142,9 b' class Application(SingletonConfigurable):' | |||
|
142 | 142 | |
|
143 | 143 | # The version string of this application. |
|
144 | 144 | version = Unicode(u'0.0') |
|
145 | ||
|
146 | # the argv used to initialize the application | |
|
147 | argv = List(Unicode) | |
|
145 | 148 | |
|
146 | 149 | # The log level for the application |
|
147 | 150 | log_level = Enum((0,10,20,30,40,50,'DEBUG','INFO','WARN','ERROR','CRITICAL'), |
@@ -454,6 +457,7 b' class Application(SingletonConfigurable):' | |||
|
454 | 457 | def parse_command_line(self, argv=None): |
|
455 | 458 | """Parse the command line arguments.""" |
|
456 | 459 | argv = sys.argv[1:] if argv is None else argv |
|
460 | self.argv = list(argv) | |
|
457 | 461 | |
|
458 | 462 | if argv and argv[0] == 'help': |
|
459 | 463 | # turn `ipython help notebook` into `ipython notebook -h` |
General Comments 0
You need to be logged in to leave comments.
Login now