about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-21T18·01+0100
committerFlorian Klink <flokli@flokli.de>2019-11-21T18·01+0100
commit26943b7419ea1b1cdbc123a25c7ab5955bb392fb (patch)
tree1b9bc5cad2e0c2d68665e8c529b4b3413d4df680 /main.go
parent7019716fb16f20d67a1ef592b74930ddc28d9fa6 (diff)
main.go: allow --fetch-only to be set via SUBMIT_QUEUE_FETCH_ONLY
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 1f64c7759132..de56d9072c82 100644
--- a/main.go
+++ b/main.go
@@ -76,6 +76,7 @@ func main() {
 		cli.BoolFlag{
 			Name:        "fetch-only",
 			Usage:       "Only fetch changes and assemble queue, but don't actually write",
+			EnvVar:      "SUBMIT_QUEUE_FETCH_ONLY",
 			Destination: &fetchOnly,
 		},
 	}