Browse Source

add option and update the description

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
yuexiao-wang 8 years ago
parent
commit
1917d3b958
1 changed files with 3 additions and 2 deletions
  1. 3 2
      docs/reference/commandline/cli.md

+ 3 - 2
docs/reference/commandline/cli.md

@@ -174,8 +174,9 @@ To list the help on any command just execute the command, followed by the
 
 
     Run a command in a new container
     Run a command in a new container
 
 
-      -a, --attach=[]            Attach to STDIN, STDOUT or STDERR
-      --cpu-shares=0             CPU shares (relative weight)
+    Options:
+          --add-host value             Add a custom host-to-IP mapping (host:ip) (default [])
+      -a, --attach value               Attach to STDIN, STDOUT or STDERR (default [])
     ...
     ...
 
 
 ## Option types
 ## Option types