Skip to content
Permalink
Browse files

fix nikola help <command> (copy new doit impl)

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 11, 2015
1 parent 702f2a6 commit 8e129712cd5a773bd40297f2fbad44295db052a7
Showing with 2 additions and 1 deletion.
  1. +2 −1 nikola/plugin_categories.py
@@ -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)
@@ -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:

0 comments on commit 8e12971

Please sign in to comment.
You can’t perform that action at this time.