From 9f6721afacf24a78a2ad2268a9f5cde82fa04635 Mon Sep 17 00:00:00 2001 From: hunterch Date: Fri, 9 Sep 2022 12:58:51 -0700 Subject: [PATCH] fix: golangci-lint --- internal/commands/help.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/commands/help.go b/internal/commands/help.go index bbfe6bebc..10146c6e0 100644 --- a/internal/commands/help.go +++ b/internal/commands/help.go @@ -221,9 +221,7 @@ func printUsage(receiver interface{}) (string, error) { envs, ok := field.Tag.Lookup("env") if ok { - for _, env := range strings.Split(envs, ",") { - arguments = append(arguments, fmt.Sprintf("%s", env)) - } + arguments = append(arguments, strings.Split(envs, ",")...) } field := strings.Join(arguments, ", ")