diff options
author | Francis Lavoie <lavofr@gmail.com> | 2021-10-18 14:19:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 12:19:04 -0600 |
commit | 062657d0d80aa1c2e3af51414db634f49c9a03a0 (patch) | |
tree | d235ee50728667f69ce584b0466a0694b7d5f50e /cmd/packagesfuncs.go | |
parent | b092061591d673d5a886881531df2b39cd7722e3 (diff) |
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/packagesfuncs.go')
-rw-r--r-- | cmd/packagesfuncs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/packagesfuncs.go b/cmd/packagesfuncs.go index 6aaf52b..c4f41ea 100644 --- a/cmd/packagesfuncs.go +++ b/cmd/packagesfuncs.go @@ -220,7 +220,7 @@ func getModules() (standard, nonstandard, unknown []moduleInfo, err error) { } func listModules(path string) error { - cmd := exec.Command(path, "list-modules", "--versions") + cmd := exec.Command(path, "list-modules", "--versions", "--skip-standard") cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr err := cmd.Run() |