Add -h short for help. Fixes #3
This commit is contained in:
parent
953e8a8af1
commit
1401fba2f6
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@ pocket_app = PocketApp()
|
|||
WORDS_PER_MINUTE = 180
|
||||
|
||||
|
||||
@click.group()
|
||||
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
|
||||
|
||||
|
||||
@click.group(context_settings=CONTEXT_SETTINGS)
|
||||
def main():
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue