Skip to content

Commit 17e4082

Browse files
committed
Minor CLI fixes.
1 parent 2f9f5f5 commit 17e4082

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

yubioath/cli/__main__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ def print_version(ctx, param, value):
7171

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

197198

198199
@password.command()
199-
@click.password_option()
200+
@click.password_option('-p', '--password')
200201
@click.pass_context
201202
def set(ctx, password):
202203
"""

0 commit comments

Comments
 (0)