summaryrefslogtreecommitdiff
path: root/cmd/packagesfuncs.go
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2021-10-18 14:19:04 -0400
committerGitHub <noreply@github.com>2021-10-18 12:19:04 -0600
commit062657d0d80aa1c2e3af51414db634f49c9a03a0 (patch)
treed235ee50728667f69ce584b0466a0694b7d5f50e /cmd/packagesfuncs.go
parentb092061591d673d5a886881531df2b39cd7722e3 (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.go2
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()