Add example

This commit is contained in:
Ishank Arora
2021-01-29 11:36:31 +01:00
parent 417defdbb9
commit 5f818c6bae
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
&cli.StringFlag{
Name: "storage-home-mapping",
Value: "",
Usage: "mapping template for user home paths to user-specific mount points",
Usage: "mapping template for user home paths to user-specific mount points, e.g. /home/{{substr 0 1 .Username}}",
EnvVars: []string{"STORAGE_GATEWAY_HOME_MAPPING"},
Destination: &cfg.Reva.Gateway.HomeMapping,
},