Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
feat: Enable Shorthand Flag for Stdout on the Login Command (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
citruspi authored and nickatsegment committed Jul 10, 2019
1 parent 6658fa0 commit 38f9f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 38f9f20

Please sign in to comment.