diff --git a/cmd/login.go b/cmd/login.go index 4840aa05..d07ebc86 100644 --- a/cmd/login.go +++ b/cmd/login.go @@ -22,6 +22,7 @@ var loginCmd = &cobra.Command{ Short: "login will authenticate you through okta and allow you to access your AWS environment through a browser", RunE: loginRun, PreRun: loginPre, + ValidArgs: listProfileNames(mustListProfiles()), } // Stdout is the bool for -stdout