Skip to content

Commit

Permalink
fix nikola help <command> (copy new doit impl)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 11, 2015
1 parent 702f2a6 commit 8e12971
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nikola/plugin_categories.py
Expand Up @@ -91,6 +91,7 @@ class Command(BasePlugin, DoitCommand):

def __init__(self, *args, **kwargs):
BasePlugin.__init__(self, *args, **kwargs)
DoitCommand.__init__(self)

def __call__(self, config=None, **kwargs):
DoitCommand.__init__(self, config, **kwargs)
Expand Down Expand Up @@ -123,7 +124,7 @@ def help(self):
text.append('')

text.append("Options:")
for opt in self.options:
for opt in self.cmdparser.options:
text.extend(opt.help_doc())

if self.doc_description is not None:
Expand Down

0 comments on commit 8e12971

Please sign in to comment.