Update control cmd USAGE to indicate that it is possible to put access secret keys in URL (#3115)

master
Anis Elleuch 8 years ago committed by Harshavardhana
parent a9dd2793f9
commit 7ffb337cd7
  1. 2
      cmd/control-heal-main.go
  2. 2
      cmd/control-lock-main.go
  3. 2
      cmd/control-service-main.go

@ -35,7 +35,7 @@ var healCmd = cli.Command{
minio control {{.Name}} - {{.Usage}} minio control {{.Name}} - {{.Usage}}
USAGE: USAGE:
minio control {{.Name}} minio control {{.Name}} http[s]://[access_key[:secret_key]@]server_ip:port/
FLAGS: FLAGS:
{{range .Flags}}{{.}} {{range .Flags}}{{.}}

@ -52,7 +52,7 @@ var lockCmd = cli.Command{
minio control {{.Name}} - {{.Usage}} minio control {{.Name}} - {{.Usage}}
USAGE: USAGE:
minio control {{.Name}} [list|clear] http://localhost:9000/ minio control {{.Name}} [list|clear] http[s]://[access_key[:secret_key]@]server_ip:port/
FLAGS: FLAGS:
{{range .Flags}}{{.}} {{range .Flags}}{{.}}

@ -33,7 +33,7 @@ var serviceCmd = cli.Command{
minio control {{.Name}} - {{.Usage}} minio control {{.Name}} - {{.Usage}}
USAGE: USAGE:
minio control {{.Name}} [status|restart|stop] URL minio control {{.Name}} [status|restart|stop] http[s]://[access_key[:secret_key]@]server_ip:port/
FLAGS: FLAGS:
{{range .Flags}}{{.}} {{range .Flags}}{{.}}

Loading…
Cancel
Save