From 24bb44aac8fd4730262546161cac1cc7d2869b32 Mon Sep 17 00:00:00 2001 From: Nikola Kovacs Date: Wed, 8 Mar 2017 20:37:25 +0100 Subject: [PATCH] Fix SilenceUsage and SilenceErrors in readme (#397) You have to set them to true to silence the default output, not false. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2efda592..0d510b22 100644 --- a/README.md +++ b/README.md @@ -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:**