Skip to content

Commit 3a9334d

Browse files
committed
Minor cleanup
1 parent 8eca1f0 commit 3a9334d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func Run(ctx context.Context, cliargs []string) error {
127127
// manually set --help, see github.com/spf13/cobra/command.go
128128
flags.Bool("help", false, "show this help, then exit")
129129
_ = c.Flags().SetAnnotation("help", cobra.FlagSetByCobraAnnotation, []string{"true"})
130-
// add to metacmd usage
130+
// expose to metacmd
131131
metacmd.Usage = func(w io.Writer) {
132132
_, _ = w.Write([]byte(text.Short() + "\n\n" + c.UsageString()))
133133
}

0 commit comments

Comments
 (0)