Skip to content

Commit

Permalink
Minor CLI fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Jun 9, 2016
1 parent 2f9f5f5 commit 17e4082
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions yubioath/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def print_version(ctx, param, value):

@click.group(context_settings=CLICK_CONTEXT_SETTINGS)
@click.option('-v', '--version', is_flag=True, callback=print_version,
expose_value=False, is_eager=True)
expose_value=False, is_eager=True, help='Prints the version of '
'the application and exits.')
@click.option('-r', '--reader', default='YubiKey', help='Name to match '
'smartcard reader against (case insensitive).')
@click.option('-R', '--remember', is_flag=True, help='Remember any entered '
Expand Down Expand Up @@ -196,7 +197,7 @@ def password():


@password.command()
@click.password_option()
@click.password_option('-p', '--password')
@click.pass_context
def set(ctx, password):
"""
Expand Down

0 comments on commit 17e4082

Please sign in to comment.