From fb2fe7e65d314caf5bc0b554dd5a3bee42b4203f Mon Sep 17 00:00:00 2001 From: Steve Mactaggart Date: Fri, 22 Dec 2017 09:01:33 +1100 Subject: [PATCH] Restored the updated profile help text. --- aws_google_auth/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aws_google_auth/__init__.py b/aws_google_auth/__init__.py index 2d3bf2e..31ed977 100644 --- a/aws_google_auth/__init__.py +++ b/aws_google_auth/__init__.py @@ -372,10 +372,11 @@ def parse_args(args): parser.add_argument('-d', '--duration', type=int, default=DURATION, help='Credential duration ($DURATION)') parser.add_argument('-p', '--profile', default=PROFILE, - help='AWS profile ($AWS_PROFILE)') + help='AWS profile (defaults to value of $AWS_PROFILE, then falls back to \'sts\')') + role_group = parser.add_mutually_exclusive_group() role_group.add_argument('-a', '--ask-role', default=ASK_ROLE, - action='store_true', help='Set true to always pick the role') + action='store_true', help='Set true to always pick the role') role_group.add_argument('-r', '--role-arn', help='The ARN of the role to assume') parser.add_argument('-V', '--version', action='version', version='%(prog)s {version}'.format(version=_version.__version__))