diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-09-01 21:41:09 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-09-01 21:43:23 -0600 |
commit | ec2a5762b03356aa3b59714d51fd969e9bf3f6e3 (patch) | |
tree | b2f89ac4b8437d45439d221cf585ae386d5b420c /cmd/cobra.go | |
parent | e77992dd99509c883dbb3b6dd185f771a42e5fae (diff) |
cmd: Don't print long help text on error
Diffstat (limited to 'cmd/cobra.go')
-rw-r--r-- | cmd/cobra.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/cobra.go b/cmd/cobra.go index 437fda9..d2a546c 100644 --- a/cmd/cobra.go +++ b/cmd/cobra.go @@ -91,6 +91,10 @@ https://caddyserver.com/docs/running $ caddy run --config caddy.json $ caddy reload --config caddy.json $ caddy stop`, + + // kind of annoying to have all the help text printed out if + // caddy has an error provisioning its modules, for instance... + SilenceUsage: true, } const fullDocsFooter = `Full documentation is available at: |