##// END OF EJS Templates
Fix applications displaying subcommands
Thomas Kluyver -
Show More
@@ -311,7 +311,7 b' class Application(SingletonConfigurable):'
311 311 lines.append('-'*len(lines[0]))
312 312 lines.append('')
313 313 for p in wrap_paragraphs(self.subcommand_description.format(
314 app=os.path.basename(self.argv[0]))):
314 app=self.name)):
315 315 lines.append(p)
316 316 lines.append('')
317 317 for subc, (cls, help) in iteritems(self.subcommands):
@@ -294,7 +294,7 b' class ProfileCreate(BaseIPythonApplication):'
294 294
295 295
296 296 class ProfileApp(Application):
297 name = u'ipython-profile'
297 name = u'ipython profile'
298 298 description = profile_help
299 299 examples = _main_examples
300 300
@@ -90,7 +90,7 b' class InstallKernelSpec(BaseIPythonApplication):'
90 90 raise
91 91
92 92 class KernelSpecApp(Application):
93 name = "ipython-kernelspec"
93 name = "ipython kernelspec"
94 94 description = """Manage IPython kernel specifications."""
95 95
96 96 subcommands = Dict(dict(
General Comments 0
You need to be logged in to leave comments. Login now