diff --git a/google_yubikey/__main__.py b/google_yubikey/__main__.py index 7fc3252..3dfa175 100755 --- a/google_yubikey/__main__.py +++ b/google_yubikey/__main__.py @@ -136,6 +136,10 @@ def parse_args(): '-a', '--service-account-email', required=True, help='Service Account email', ) + parser_token.add_argument( + '-t', '--token-type', type=TokenType.from_str(TokenType), choices=list(TokenType), + help='Token type', default=TokenType.ACCESS, + ) parser_token.add_argument( '-d', '--audience', help='Audience for ID token', @@ -148,10 +152,6 @@ def parse_args(): '-l', '--token-lifetime', type=int, default=DEFAULT_LIFETIME, help='Token lifetime, in seconds', ) - parser_token.add_argument( - '-t', '--token-type', type=TokenType.from_str(TokenType), choices=list(TokenType), - help='Token type, in seconds', default=TokenType.ACCESS, - ) parser_token.add_argument( '-m', '--prompt-management-key', action='store_true', help='Prompt for management key',