Skip to content

Commit

Permalink
Merge branch 'master' into clean_build
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Pacer committed Mar 8, 2016
2 parents 1edbb5e + 20d8590 commit e50c779
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proselint/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from .version import __version__


CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
base_url = "proselint.com/"
proselint_path = os.path.dirname(os.path.realpath(__file__))
demo_file = os.path.join(proselint_path, "demo.md")
Expand Down Expand Up @@ -153,7 +154,7 @@ def show_errors(filename, errors, json=False):
log_error(filename, line, column, check, message)


@click.command()
@click.command(context_settings=CONTEXT_SETTINGS)
@click.version_option(__version__, '--version', '-v')
@click.option('--initialize', '-i', is_flag=True)
@click.option('--debug', '-d', is_flag=True)
Expand Down

0 comments on commit e50c779

Please sign in to comment.