We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ace4e05 commit 28e1282Copy full SHA for 28e1282
internal/cli/cli.go
@@ -84,7 +84,7 @@ func (c *Command) usage(w io.Writer) {
84
}
85
86
if hasFlags(c.Flags) {
87
- fmt.Fprint(w, "\n\nFlags:\n")
+ fmt.Fprint(w, "\n\nFlags:\n\n")
88
89
c.Flags.SetOutput(w)
90
c.Flags.PrintDefaults()
internal/cli/cli_test.go
@@ -167,6 +167,7 @@ Usage:
167
},
168
169
want: fmt.Sprintf(`%sFlags:
170
+
171
-name string
172
name flag (default "default")
173
0 commit comments