Browse code

docs: fix weight-deivce option args

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>

Ma Shimiao authored on 2015/12/03 12:14:05
Showing 3 changed files
... ...
@@ -463,7 +463,7 @@ __docker_subcommand() {
463 463
         "($help -a --attach)"{-a=,--attach=}"[Attach to stdin, stdout or stderr]:device:(STDIN STDOUT STDERR)"
464 464
         "($help)*--add-host=[Add a custom host-to-IP mapping]:host\:ip mapping: "
465 465
         "($help)--blkio-weight=[Block IO (relative weight), between 10 and 1000]:Block IO weight:(10 100 500 1000)"
466
-        "($help)--blkio-weight-device=-[Block IO (relative device weight)]:device:Block IO weight: "
466
+        "($help)*--blkio-weight-device=[Block IO (relative device weight)]:device:Block IO weight: "
467 467
         "($help)*--cap-add=[Add Linux capabilities]:capability: "
468 468
         "($help)*--cap-drop=[Drop Linux capabilities]:capability: "
469 469
         "($help)--cidfile=[Write the container ID to the file]:CID file:_files"
... ...
@@ -19,7 +19,7 @@ Creates a new container.
19 19
       -a, --attach=[]               Attach to STDIN, STDOUT or STDERR
20 20
       --add-host=[]                 Add a custom host-to-IP mapping (host:ip)
21 21
       --blkio-weight=0              Block IO weight (relative weight)
22
-      --blkio-weight-device=""      Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)
22
+      --blkio-weight-device=[]      Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)
23 23
       --cpu-shares=0                CPU shares (relative weight)
24 24
       --cap-add=[]                  Add Linux capabilities
25 25
       --cap-drop=[]                 Drop Linux capabilities
... ...
@@ -17,7 +17,7 @@ parent = "smn_cli"
17 17
       -a, --attach=[]               Attach to STDIN, STDOUT or STDERR
18 18
       --add-host=[]                 Add a custom host-to-IP mapping (host:ip)
19 19
       --blkio-weight=0              Block IO weight (relative weight)
20
-      --blkio-weight-device=""      Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)
20
+      --blkio-weight-device=[]      Block IO weight (relative device weight, format: `DEVICE_NAME:WEIGHT`)
21 21
       --cpu-shares=0                CPU shares (relative weight)
22 22
       --cap-add=[]                  Add Linux capabilities
23 23
       --cap-drop=[]                 Drop Linux capabilities