Преглед на файлове

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 години
родител
ревизия
bbf49348e2
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  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
 
-      --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:**
 > For further details and examples of each command, see the