gateway: Fix help message for custom Azure Blob Storage endpoint. (#4113)

This commit is contained in:
Krishna Srinivas 2017-04-14 11:02:43 -07:00 committed by Harshavardhana
parent ca64b86112
commit e6b2253da9

View File

@ -31,7 +31,7 @@ var gatewayTemplate = `NAME:
{{.HelpName}} - {{.Usage}} {{.HelpName}} - {{.Usage}}
USAGE: USAGE:
{{.HelpName}} {{if .VisibleFlags}}[FLAGS]{{end}} BACKEND {{.HelpName}} {{if .VisibleFlags}}[FLAGS]{{end}} BACKEND [ENDPOINT]
{{if .VisibleFlags}} {{if .VisibleFlags}}
FLAGS: FLAGS:
{{range .VisibleFlags}}{{.}} {{range .VisibleFlags}}{{.}}
@ -47,6 +47,10 @@ EXAMPLES:
2. Start minio gateway server bound to a specific ADDRESS:PORT. 2. Start minio gateway server bound to a specific ADDRESS:PORT.
$ {{.HelpName}} --address 192.168.1.101:9000 azure $ {{.HelpName}} --address 192.168.1.101:9000 azure
3. Gateway server connecting to a custom Azure Blob Storage endpoint.
$ {{.HelpName}} azure https://azure-stack.domain.com
` `
var gatewayCmd = cli.Command{ var gatewayCmd = cli.Command{