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 1b2d563 commit 72453ffCopy full SHA for 72453ff
cli/clibase/cmd.go
@@ -566,7 +566,7 @@ func UsageErrorPrefix(next HandlerFunc) HandlerFunc {
566
return func(i *Invocation) error {
567
err := next(i)
568
if err != nil {
569
- return fmt.Errorf("Usage: %s\n%w", i.Command.FullUsage(), err)
+ return fmt.Errorf("Usage: %s\nError: %w", i.Command.FullUsage(), err)
570
}
571
return nil
572
0 commit comments