We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6874d3d commit 305d7a5Copy full SHA for 305d7a5
internal/cli/cli.go
@@ -74,7 +74,7 @@ func (c *Command) usage(w io.Writer) {
74
}
75
76
fmt.Fprintf(w, "%s\n\n", c.Long)
77
- fmt.Fprintf(w, "Usage:\n %s", c.UsageLine)
+ fmt.Fprintf(w, "Usage:\n\n %s", c.UsageLine)
78
if len(c.Commands) > 0 {
79
fmt.Fprint(w, "\n\nCommands:\n")
80
for _, c := range c.Commands {
internal/cli/cli_test.go
@@ -143,6 +143,7 @@ func TestUsage(t *testing.T) {
143
preamble := `Test prints test information.
144
145
Usage:
146
+
147
test [flags]
148
149
`
0 commit comments