diff options
-rw-r--r-- | alot/commands/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/commands/__init__.py b/alot/commands/__init__.py index d369de1b..6cbc3f18 100644 --- a/alot/commands/__init__.py +++ b/alot/commands/__init__.py @@ -137,7 +137,8 @@ class registerCommand(object): self.arguments = arguments def __call__(self, klass): - argparser = CommandArgumentParser(description=self.help, + helpstring = self.help or klass.__doc__ + argparser = CommandArgumentParser(description=helpstring, usage=self.usage, prog=self.name, add_help=False) for args, kwargs in self.arguments: |