Fix SilenceUsage and SilenceErrors in readme (#397)

You have to set them to true to silence the default output, not false.
This commit is contained in:
Nikola Kovacs 2017-03-08 20:37:25 +01:00 committed by Eric Paris
parent fcd0c5a1df
commit 24bb44aac8

View file

@ -755,7 +755,7 @@ providing a way to handle the errors in one location. The current list of functi
* PersistentPostRunE
If you would like to silence the default `error` and `usage` output in favor of your own, you can set `SilenceUsage`
and `SilenceErrors` to `false` on the command. A child command respects these flags if they are set on the parent
and `SilenceErrors` to `true` on the command. A child command respects these flags if they are set on the parent
command.
**Example Usage using RunE:**