diff options
author | Francis Lavoie <[email protected]> | 2021-10-18 14:19:04 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-18 12:19:04 -0600 |
commit | 062657d0d80aa1c2e3af51414db634f49c9a03a0 (patch) | |
tree | d235ee50728667f69ce584b0466a0694b7d5f50e /cmd/commands.go | |
parent | b092061591d673d5a886881531df2b39cd7722e3 (diff) | |
download | caddy-062657d0d80aa1c2e3af51414db634f49c9a03a0.tar.gz caddy-062657d0d80aa1c2e3af51414db634f49c9a03a0.zip |
caddycmd: Add `--skip-standard` to `list-modules` command, quieter output (#4386)
* caddycmd: Add --skip-standard to list-modules command, quieter output
* caddycmd: Also quiet `caddy upgrade` output, redundant information
Diffstat (limited to 'cmd/commands.go')
-rw-r--r-- | cmd/commands.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/commands.go b/cmd/commands.go index 7b184fd79..f56243045 100644 --- a/cmd/commands.go +++ b/cmd/commands.go @@ -208,6 +208,7 @@ config file; otherwise the default is assumed.`, fs := flag.NewFlagSet("list-modules", flag.ExitOnError) fs.Bool("packages", false, "Print package paths") fs.Bool("versions", false, "Print version information") + fs.Bool("skip-standard", false, "Skip printing standard modules") return fs }(), }) |