main.go: allow --fetch-only to be set via SUBMIT_QUEUE_FETCH_ONLY

This commit is contained in:
Florian Klink 2019-11-21 19:01:08 +01:00
parent 7019716fb1
commit 26943b7419

View file

@ -76,6 +76,7 @@ func main() {
cli.BoolFlag{ cli.BoolFlag{
Name: "fetch-only", Name: "fetch-only",
Usage: "Only fetch changes and assemble queue, but don't actually write", Usage: "Only fetch changes and assemble queue, but don't actually write",
EnvVar: "SUBMIT_QUEUE_FETCH_ONLY",
Destination: &fetchOnly, Destination: &fetchOnly,
}, },
} }