Fix #3 - --version in dev mode fails
This commit is contained in:
parent
69596de7a3
commit
21fde6842a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ CONTEXT_SETTINGS = dict(help_option_names=["-h", "--help"])
|
||||||
default=DEFAULT_CONFIG_FILENAME,
|
default=DEFAULT_CONFIG_FILENAME,
|
||||||
show_default=True,
|
show_default=True,
|
||||||
)
|
)
|
||||||
@click.version_option()
|
@click.version_option(version=__import__("cleantoots").__version__)
|
||||||
@click.pass_context
|
@click.pass_context
|
||||||
def cli(ctx, config_dir, config_file):
|
def cli(ctx, config_dir, config_file):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue