Skip to content

Commit

Permalink
Merge pull request #364 from dxw/fix-aws-sso-login-quiet-mode
Browse files Browse the repository at this point in the history
Fix aws-sso login quiet mode
  • Loading branch information
Stretch96 authored Sep 27, 2024
2 parents dc5278d + 13c4def commit 6e01be4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/aws-sso/v2/login
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,19 @@ usage() {
echo "Usage: $(basename "$0") [OPTIONS]" 1>&2
echo " -h - help"
echo " -p <aws_sso_profile> - AWS SSO Profile"
echo " -q <quiet_mode> - Quiet mode"
exit 1
}

AWS_SSO_PROFILE="dalmatian-login"
FORCE_RELOG=0
QUIET_MODE=0
while getopts "p:fqh" opt; do
while getopts "p:fh" opt; do
case $opt in
p)
AWS_SSO_PROFILE=$OPTARG
;;
f)
FORCE_RELOG=1
;;
q)
QUIET_MODE=1
;;
h)
usage
;;
Expand Down

0 comments on commit 6e01be4

Please sign in to comment.