##// END OF EJS Templates
`ipython profile` prints profile help...
MinRK -
Show More
@@ -208,3 +208,13 b' class ProfileApp(Application):'
208 208 list = (ProfileList, "List existing profiles")
209 209 ))
210 210
211 def start(self):
212 if self.subapp is None:
213 print "No subcommand specified. Must specify one of: %s"%(self.subcommands.keys())
214 print
215 self.print_description()
216 self.print_subcommands()
217 self.exit(1)
218 else:
219 return self.subapp.start()
220
@@ -426,8 +426,9 b' class IPClusterApp(Application):'
426 426
427 427 def start(self):
428 428 if self.subapp is None:
429 print "No subcommand specified! Must specify one of: %s"%(self.subcommands.keys())
429 print "No subcommand specified. Must specify one of: %s"%(self.subcommands.keys())
430 430 print
431 self.print_description()
431 432 self.print_subcommands()
432 433 self.exit(1)
433 434 else:
@@ -435,7 +436,7 b' class IPClusterApp(Application):'
435 436
436 437 def launch_new_instance():
437 438 """Create and run the IPython cluster."""
438 app = IPBaseParallelApplication.instance()
439 app = IPClusterApp.instance()
439 440 app.initialize()
440 441 app.start()
441 442
General Comments 0
You need to be logged in to leave comments. Login now