From 9761906d57ca051e1838f8cb24d8712db6fd4949 Mon Sep 17 00:00:00 2001 From: Stuart Carnie Date: Tue, 10 Nov 2020 09:57:34 +1100 Subject: [PATCH] chore: Improve help for --no-password switch --- cmd/influx/v1_authorization.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/influx/v1_authorization.go b/cmd/influx/v1_authorization.go index 15c3ff20c1f..9c9d4957ea2 100644 --- a/cmd/influx/v1_authorization.go +++ b/cmd/influx/v1_authorization.go @@ -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")