Skip to content

Commit

Permalink
chore: Improve help for --no-password switch
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcarnie committed Nov 9, 2020
1 parent cae5390 commit 3c9ee3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/influx/v1_authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func v1AuthCreateCmd(f *globalFlags, opt genericCLIOpts) *cobra.Command {
cmd.Flags().StringVar(&v1AuthCreateFlags.username, "username", "", "The username to identify this token")
_ = cmd.MarkFlagRequired("username")
cmd.Flags().StringVarP(&v1AuthCreateFlags.description, "description", "d", "", "Token description")
cmd.Flags().BoolVar(&v1AuthCreateFlags.noPassword, "no-password", false, "Don't set password. You must use v1 auth set-password command before using token.")
cmd.Flags().BoolVar(&v1AuthCreateFlags.noPassword, "no-password", false, "Don't prompt for a password. You must use v1 auth set-password command before using the token.")
registerPrintOptions(cmd, &v1AuthCreateFlags.hideHeaders, &v1AuthCreateFlags.json)

cmd.Flags().StringArrayVarP(&v1AuthCreateFlags.writeBucketPermissions, "write-bucket", "", []string{}, "The bucket id")
Expand Down

0 comments on commit 3c9ee3f

Please sign in to comment.