diff options
Diffstat (limited to 'func/overlord/command.py')
-rw-r--r-- | func/overlord/command.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/func/overlord/command.py b/func/overlord/command.py index 4b815f0..6e8e137 100644 --- a/func/overlord/command.py +++ b/func/overlord/command.py @@ -97,7 +97,7 @@ class Command: aliases = None usage = None summary = None - description = None + description = "func is the command line interface for controlling func minions" parentCommand = None subCommands = None subCommandClasses = None @@ -135,7 +135,7 @@ class Command: for name, command in self.subCommands.items(): formatter.addCommand(name, command.summary or command.description) - print formatter.format_description("") + # expand %command for the bottom usage usage = self.usage or self.name @@ -258,6 +258,7 @@ class Command: """ Output help information. """ + self.parser.print_help(file=self.stderr) def outputUsage(self): |