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
+4 -4
View File
@@ -64,10 +64,10 @@ func AuthBasicWithConfig(cfg *config.Config) []cli.Flag {
// Gateway
&cli.StringFlag{
Name: "gateway-url",
Value: flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "localhost:9142"),
Usage: "URL to use for the storage gateway service",
EnvVars: []string{"STORAGE_GATEWAY_ENDPOINT"},
Name: "reva-gateway-addr",
Value: flags.OverrideDefaultString(cfg.Reva.Gateway.Endpoint, "127.0.0.1:9142"),
Usage: "Address of REVA gateway endpoint",
EnvVars: []string{"REVA_GATEWAY_ADDR"},
Destination: &cfg.Reva.Gateway.Endpoint,
},
}