unify all envvars, cli parameters and descriptions

This commit is contained in:
jkoberg
2021-10-07 12:32:57 +02:00
parent 8bb74dbc6f
commit 31f1301c9e
17 changed files with 63 additions and 63 deletions
+2 -2
View File
@@ -145,8 +145,8 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
&cli.StringFlag{
Name: "reva-gateway-addr",
Value: flags.OverrideDefaultString(cfg.Thumbnail.RevaGateway, "127.0.0.1:9142"),
Usage: "Reva gateway address",
EnvVars: []string{"THUMBNAILS_REVA_GATEWAY", "PROXY_REVA_GATEWAY_ADDR", "REVA_GATEWAY_ADDR"},
Usage: "Address of REVA gateway endpoint",
EnvVars: []string{"REVA_GATEWAY_ADDR"},
Destination: &cfg.Thumbnail.RevaGateway,
},
&cli.BoolFlag{