Ver código fonte

Merge pull request #26293 from lixiaobing10051267/masterDockerAttach

fix the wrong option info while specifying the command with the "--help"
(cherry picked from commit d8e151535017b4bb4ee5aa8281f1b9bb7bffa397)

Signed-off-by: Charles Smith <charles.smith@docker.com>
Vincent Demeester 8 anos atrás
pai
commit
bbf49348e2
1 arquivos alterados com 5 adições e 3 exclusões
  1. 5 3
      docs/tutorials/usingdocker.md

+ 5 - 3
docs/tutorials/usingdocker.md

@@ -73,9 +73,11 @@ To see usage for a specific command, specify the command with the `--help` flag:
 
 
     Attach to a running container
     Attach to a running container
 
 
-      --help              Print usage
-      --no-stdin          Do not attach stdin
-      --sig-proxy=true    Proxy all received signals to the process
+    Options:
+      --detach-keys string   Override the key sequence for detaching a container
+      --help                 Print usage
+      --no-stdin             Do not attach STDIN
+      --sig-proxy            Proxy all received signals to the process (default true)
 
 
 > **Note:**
 > **Note:**
 > For further details and examples of each command, see the
 > For further details and examples of each command, see the