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 299c548 commit c94c688Copy full SHA for c94c688
command_run.go
@@ -92,7 +92,7 @@ outer:
92
// definitions and the matching Action functions are run.
93
func (cmd *Command) Run(ctx context.Context, osArgs []string) (deferErr error) {
94
_, deferErr = cmd.run(ctx, osArgs)
95
- return
+ return deferErr
96
}
97
98
func (cmd *Command) run(ctx context.Context, osArgs []string) (_ context.Context, deferErr error) {
docs.go
@@ -14,7 +14,7 @@ func prefixFor(name string) (prefix string) {
14
prefix = "--"
15
16
17
+ return prefix
18
19
20
// Returns the placeholder, if any, and the unquoted usage string.
0 commit comments