Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
265e4f7d8a |
@@ -422,10 +422,8 @@ func (mfa *CLIApp) run(args []string) {
|
|||||||
Version: mfa.VersionString(),
|
Version: mfa.VersionString(),
|
||||||
EnableShellCompletion: true,
|
EnableShellCompletion: true,
|
||||||
Writer: mfa.Stdout,
|
Writer: mfa.Stdout,
|
||||||
// urfave/cli writes only its "Incorrect Usage" line to ErrWriter. It
|
// v3 writes its "Incorrect Usage" line to ErrWriter; v2 wrote it to
|
||||||
// goes to stdout with the help printed after it; run logs the error
|
// stdout, before the help, so it stays on stdout.
|
||||||
// itself to stderr. Tests rely on the logger being the only writer to
|
|
||||||
// a run's stderr.
|
|
||||||
ErrWriter: mfa.Stdout,
|
ErrWriter: mfa.Stdout,
|
||||||
Flags: commonFlags(),
|
Flags: commonFlags(),
|
||||||
StopOnNthArg: stopOnFirstArg(),
|
StopOnNthArg: stopOnFirstArg(),
|
||||||
|
|||||||
Reference in New Issue
Block a user