浏览代码

generate reference api

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours 3 年之前
父节点
当前提交
35ba6f68e5
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      docs/reference/docker_compose_exec.yaml
  2. 1 1
      docs/reference/docker_compose_run.yaml

+ 3 - 3
docs/reference/docker_compose_exec.yaml

@@ -46,7 +46,7 @@ options:
   shorthand: i
   value_type: bool
   default_value: "true"
-  description: Keep STDIN open even if not attached. DEPRECATED
+  description: Keep STDIN open even if not attached.
   deprecated: false
   hidden: true
   experimental: false
@@ -56,7 +56,7 @@ options:
 - option: no-TTY
   shorthand: T
   value_type: bool
-  default_value: "false"
+  default_value: "true"
   description: |
     Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY.
   deprecated: false
@@ -79,7 +79,7 @@ options:
   shorthand: t
   value_type: bool
   default_value: "true"
-  description: Allocate a pseudo-TTY. DEPRECATED
+  description: Allocate a pseudo-TTY.
   deprecated: false
   hidden: true
   experimental: false

+ 1 - 1
docs/reference/docker_compose_run.yaml

@@ -124,7 +124,7 @@ options:
 - option: no-TTY
   shorthand: T
   value_type: bool
-  default_value: "false"
+  default_value: "true"
   description: |
     Disable pseudo-noTty allocation. By default docker compose run allocates a TTY
   deprecated: false