From cc0943ceebc394e79b24ffe8536b20441df0d2fe Mon Sep 17 00:00:00 2001 From: Jade McGough Date: Thu, 19 Dec 2019 03:22:56 -0800 Subject: [PATCH] chore(cli): improve walk function documentation (#16176) --- cmd/influx/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) })