google / subcommands

Go subcommand library.
Apache License 2.0
749 stars 48 forks source link

Fix command FlagSet output #39

Open fgm opened 2 years ago

fgm commented 2 years ago

Redirect the error output for the command FlagSet created during *Commander.Execute to the Error output of the commander, to support capturing, mostly during unit tests.