Skip to content

Commit

Permalink
Make --insecure a local flag for login command
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Dec 2, 2021
1 parent 6665558 commit 2fc8502
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ var loginCmd = &cobra.Command{
}

func init() {
rootCmd.AddCommand(loginCmd)

loginCmd.Flags().Bool("print-token", false, "")
loginCmd.Flags().Bool("insecure", false, "Use WithInsecure instead of TLS")

rootCmd.AddCommand(loginCmd)
}

0 comments on commit 2fc8502

Please sign in to comment.