diff --git a/cmd/influx/main.go b/cmd/influx/main.go index 69e1c2aed7..39a59ab2bb 100644 --- a/cmd/influx/main.go +++ b/cmd/influx/main.go @@ -120,7 +120,7 @@ func influxCmd() *cobra.Command { cmd.PersistentFlags().BoolVar(&flags.skipVerify, "skip-verify", false, "SkipVerify controls whether a client verifies the server's certificate chain and host name.") - // Override help on all the commands tree + // Update help description for all commands in command tree walk(cmd, func(c *cobra.Command) { c.Flags().BoolP("help", "h", false, fmt.Sprintf("Help for the %s command ", c.Name())) })