mirror of https://github.com/docker/cli.git
docs: fix weight-deivce option args
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
parent
c6162061d9
commit
7880dcf5f2
|
@ -463,7 +463,7 @@ __docker_subcommand() {
|
||||||
"($help -a --attach)"{-a=,--attach=}"[Attach to stdin, stdout or stderr]:device:(STDIN STDOUT STDERR)"
|
"($help -a --attach)"{-a=,--attach=}"[Attach to stdin, stdout or stderr]:device:(STDIN STDOUT STDERR)"
|
||||||
"($help)*--add-host=[Add a custom host-to-IP mapping]:host\:ip mapping: "
|
"($help)*--add-host=[Add a custom host-to-IP mapping]:host\:ip mapping: "
|
||||||
"($help)--blkio-weight=[Block IO (relative weight), between 10 and 1000]:Block IO weight:(10 100 500 1000)"
|
"($help)--blkio-weight=[Block IO (relative weight), between 10 and 1000]:Block IO weight:(10 100 500 1000)"
|
||||||
"($help)--blkio-weight-device=-[Block IO (relative device weight)]:device:Block IO weight: "
|
"($help)*--blkio-weight-device=[Block IO (relative device weight)]:device:Block IO weight: "
|
||||||
"($help)*--cap-add=[Add Linux capabilities]:capability: "
|
"($help)*--cap-add=[Add Linux capabilities]:capability: "
|
||||||
"($help)*--cap-drop=[Drop Linux capabilities]:capability: "
|
"($help)*--cap-drop=[Drop Linux capabilities]:capability: "
|
||||||
"($help)--cidfile=[Write the container ID to the file]:CID file:_files"
|
"($help)--cidfile=[Write the container ID to the file]:CID file:_files"
|
||||||
|
|
|
@ -19,7 +19,7 @@ Creates a new container.
|
||||||
-a, --attach=[] Attach to STDIN, STDOUT or STDERR
|
-a, --attach=[] Attach to STDIN, STDOUT or STDERR
|
||||||
--add-host=[] Add a custom host-to-IP mapping (host:ip)
|
--add-host=[] Add a custom host-to-IP mapping (host:ip)
|
||||||
--blkio-weight=0 Block IO weight (relative weight)
|
--blkio-weight=0 Block IO weight (relative weight)
|
||||||
--blkio-weight-device="" Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)
|
--blkio-weight-device=[] Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)
|
||||||
--cpu-shares=0 CPU shares (relative weight)
|
--cpu-shares=0 CPU shares (relative weight)
|
||||||
--cap-add=[] Add Linux capabilities
|
--cap-add=[] Add Linux capabilities
|
||||||
--cap-drop=[] Drop Linux capabilities
|
--cap-drop=[] Drop Linux capabilities
|
||||||
|
|
|
@ -17,7 +17,7 @@ parent = "smn_cli"
|
||||||
-a, --attach=[] Attach to STDIN, STDOUT or STDERR
|
-a, --attach=[] Attach to STDIN, STDOUT or STDERR
|
||||||
--add-host=[] Add a custom host-to-IP mapping (host:ip)
|
--add-host=[] Add a custom host-to-IP mapping (host:ip)
|
||||||
--blkio-weight=0 Block IO weight (relative weight)
|
--blkio-weight=0 Block IO weight (relative weight)
|
||||||
--blkio-weight-device="" Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)
|
--blkio-weight-device=[] Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)
|
||||||
--cpu-shares=0 CPU shares (relative weight)
|
--cpu-shares=0 CPU shares (relative weight)
|
||||||
--cap-add=[] Add Linux capabilities
|
--cap-add=[] Add Linux capabilities
|
||||||
--cap-drop=[] Drop Linux capabilities
|
--cap-drop=[] Drop Linux capabilities
|
||||||
|
|
Loading…
Reference in New Issue