Skip to content

Commit 1ae2375

Browse files
committed
cmd/go-cache-plugin: update "help environment" text
1 parent c6f3636 commit 1ae2375

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

cmd/go-cache-plugin/go-cache-plugin.go

+21-13
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,27 @@ listening on a socket.`,
7171
To make it easier to configure this tool for multiple workflows, most of the
7272
settings can be set via environment variables as well as flags.
7373
74-
Flag Variable Format Default
75-
--cache-dir GOCACHE_DIR path (required)
76-
--bucket GOCACHE_S3_BUCKET string (required)
77-
--region GOCACHE_S3_REGION string based on bucket
78-
--prefix GOCACHE_KEY_PREFIX string ""
79-
--min-upload-size GOCACHE_MIN_SIZE int64 0
80-
--metrics GOCACHE_METRICS bool false
81-
--expiry GOCACHE_EXPIRY duration 0
82-
--socket GOCACHE_SOCKET path (required for "serve")
83-
-c GOCACHE_CONCURRENCY int runtime.NumCPU
84-
-u GOCACHE_S3_CONCURRENCY duration runtime.NumCPU
85-
-v GOCACHE_VERBOSE bool false
86-
--debug GOCACHE_DEBUG bool false
74+
--------------------------------------------------------------------
75+
Flag (global) Variable Format Default
76+
--------------------------------------------------------------------
77+
--cache-dir GOCACHE_DIR path (required)
78+
--bucket GOCACHE_S3_BUCKET string (required)
79+
--region GOCACHE_S3_REGION string based on bucket
80+
--prefix GOCACHE_KEY_PREFIX string ""
81+
--min-upload-size GOCACHE_MIN_SIZE int64 0
82+
--metrics GOCACHE_METRICS bool false
83+
--expiry GOCACHE_EXPIRY duration 0
84+
-c GOCACHE_CONCURRENCY int runtime.NumCPU
85+
-u GOCACHE_S3_CONCURRENCY duration runtime.NumCPU
86+
-v GOCACHE_VERBOSE bool false
87+
--debug GOCACHE_DEBUG bool false
88+
89+
--------------------------------------------------------------------
90+
Flag (serve) Variable Format Default
91+
--------------------------------------------------------------------
92+
--socket GOCACHE_SOCKET path (required)
93+
--modproxy GOCACHE_MODPROXY [host]:port ""
94+
--sumdb GOCACHE_SUMDB host,... ""
8795
`,
8896
}}),
8997
command.VersionCommand(),

0 commit comments

Comments
 (0)