Skip to content

Commit

Permalink
Fix order/help for "serve" action args
Browse files Browse the repository at this point in the history
  • Loading branch information
dinvlad committed Aug 22, 2020
1 parent b7694c7 commit 95b27e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions google_yubikey/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,17 +174,17 @@ def parse_args():
'-l', '--token-lifetime', type=int, default=DEFAULT_LIFETIME,
help='Token lifetime, in seconds',
)
parser_serve.add_argument(
'-m', '--prompt-management-key', action='store_true',
help='Prompt for management key',
)
parser_serve.add_argument(
'-c', '--cache-lifetime', type=int, default=CachedItem.DEFAULT_LIFETIME_SEC,
help='Token/PIN cache lifetime, in seconds',
)
parser_serve.add_argument(
'-m', '--prompt-management-key', action='store_true',
help='Prompt for management key',
)
parser_serve.add_argument(
'-v', '--verbosity', type=Verbosity.from_str(Verbosity), choices=list(Verbosity),
help='Prompt for management key', default=Verbosity.INFO,
help='Log verbosity level', default=Verbosity.INFO,
)

return parser.parse_args()
Expand Down

0 comments on commit 95b27e9

Please sign in to comment.