mirror of
https://github.com/minio/minio.git
synced 2025-02-27 21:39:15 -05:00
cli: Use ADDRESS:PORT to clarify --address behavior (#3803)
Currently we document as IP:PORT which doesn't provide if someone can use HOSTNAME:PORT. This is a change to clarify this by calling it as ADDRESS:PORT which encompasses both a HOSTNAME and an IP. Fixes #3799
This commit is contained in:
parent
bcc5b6e1ef
commit
cff45db1b9
@ -36,7 +36,7 @@ var serverFlags = []cli.Flag{
|
||||
cli.StringFlag{
|
||||
Name: "address",
|
||||
Value: ":9000",
|
||||
Usage: `Bind to a specific IP:PORT. Defaults to ":9000".`,
|
||||
Usage: "Bind to a specific ADDRESS:PORT, ADDRESS can be an IP or hostname.",
|
||||
},
|
||||
}
|
||||
|
||||
@ -66,7 +66,7 @@ EXAMPLES:
|
||||
1. Start minio server on "/home/shared" directory.
|
||||
$ {{.HelpName}} /home/shared
|
||||
|
||||
2. Start minio server bound to a specific IP:PORT.
|
||||
2. Start minio server bound to a specific ADDRESS:PORT.
|
||||
$ {{.HelpName}} --address 192.168.1.101:9000 /home/shared
|
||||
|
||||
3. Start erasure coded minio server on a 12 disks server.
|
||||
|
Loading…
x
Reference in New Issue
Block a user