##// END OF EJS Templates
Fix application name when printing subcommand help....
Thomas Kluyver -
Show More
@@ -326,7 +326,7 b' class Application(SingletonConfigurable):'
326 lines.append('-'*len(lines[0]))
326 lines.append('-'*len(lines[0]))
327 lines.append('')
327 lines.append('')
328 for p in wrap_paragraphs(self.subcommand_description.format(
328 for p in wrap_paragraphs(self.subcommand_description.format(
329 app=os.path.basename(self.argv[0]))):
329 app=self.name)):
330 lines.append(p)
330 lines.append(p)
331 lines.append('')
331 lines.append('')
332 for subc, (cls, help) in iteritems(self.subcommands):
332 for subc, (cls, help) in iteritems(self.subcommands):
General Comments 0
You need to be logged in to leave comments. Login now