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

Fix docs

Signed-off-by: Amit Saha <[email protected]>
Amit Saha преди 3 години
родител
ревизия
f9946127ce
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      docs/reference/compose_logs.md
  2. 1 1
      docs/reference/docker_compose_logs.yaml

+ 1 - 0
docs/reference/compose_logs.md

@@ -9,6 +9,7 @@ View output from containers
 |:---------------------|:---------|:--------|:-----------------------------------------------------------------------------------------------|
 | `--dry-run`          |          |         | Execute command in dry run mode                                                                |
 | `-f`, `--follow`     |          |         | Follow log output.                                                                             |
+| `--index`            | `int`    | `1`     | index of the container if there are multiple instances of a service [default: 1].              |
 | `--no-color`         |          |         | Produce monochrome output.                                                                     |
 | `--no-log-prefix`    |          |         | Don't print prefix in logs.                                                                    |
 | `--since`            | `string` |         | Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)    |

+ 1 - 1
docs/reference/docker_compose_logs.yaml

@@ -20,7 +20,7 @@ options:
       value_type: int
       default_value: "1"
       description: |
-        Index of the container if there are multiple instances of a service [default: 1].
+        index of the container if there are multiple instances of a service [default: 1].
       deprecated: false
       hidden: false
       experimental: false