Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
nikola help doesn’t need a config file either
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 1, 2015
1 parent 0a1413d commit 45902da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/__main__.py
Expand Up @@ -96,7 +96,7 @@ def main(args=None):
# the output of that command (the new site) in an unknown directory that is
# not the current working directory. (does not apply to `version`)
argname = args[0] if len(args) > 0 else None
if argname and argname not in ['init', 'version'] and not argname.startswith('import_'):
if argname and argname not in ['init', 'version', 'help'] and not argname.startswith('import_'):
root = get_root_dir()
if root:
os.chdir(root)
Expand Down

0 comments on commit 45902da

Please sign in to comment.