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 086c9ae commit dbf714eCopy full SHA for dbf714e
options.go
@@ -37,7 +37,7 @@ func printArgs(buf *bytes.Buffer, cmd *cobra.Command) error {
37
line := fmt.Sprintf(" * - %s\n - string\n - %v\n - %s", arg, required, description)
38
buf.WriteString(line)
39
} else {
40
- return fmt.Errorf("%w: %s", ErrMissingDescription, arg)
+ return fmt.Errorf("%w: %s - %s", ErrMissingDescription, cmd.Use, arg)
41
}
42
43
buf.WriteString("\n\n")
0 commit comments