From 38f9f2060c9473b370b4c2b72c5a43e174fb362d Mon Sep 17 00:00:00 2001 From: Mihir <2125849+citruspi@users.noreply.github.com> Date: Wed, 10 Jul 2019 17:49:04 +0000 Subject: [PATCH] feat: Enable Shorthand Flag for Stdout on the Login Command (#177) --- cmd/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/login.go b/cmd/login.go index 87640b60..49422241 100644 --- a/cmd/login.go +++ b/cmd/login.go @@ -30,7 +30,7 @@ var Stdout bool func init() { RootCmd.AddCommand(loginCmd) - loginCmd.Flags().BoolVarP(&Stdout, "stdout", "", false, "Print login URL to stdout instead of opening in default browser") + loginCmd.Flags().BoolVarP(&Stdout, "stdout", "s", false, "Print login URL to stdout instead of opening in default browser") loginCmd.Flags().DurationVarP(&sessionTTL, "session-ttl", "t", time.Hour, "Expiration time for okta role session") loginCmd.Flags().DurationVarP(&assumeRoleTTL, "assume-role-ttl", "a", time.Hour, "Expiration time for assumed role") }