diff --git a/cmd/compose/cp.go b/cmd/compose/cp.go index f0919ca7..80492075 100644 --- a/cmd/compose/cp.go +++ b/cmd/compose/cp.go @@ -64,7 +64,7 @@ func copyCommand(p *projectOptions, backend api.Service) *cobra.Command { } flags := copyCmd.Flags() - flags.IntVar(&opts.index, "index", 0, "Index of the container if there are multiple instances of a service [default: 1 when copying from a container].") + flags.IntVar(&opts.index, "index", 0, "Index of the container if there are multiple instances of a service .") flags.BoolVar(&opts.all, "all", false, "Copy to all the containers of the service.") flags.MarkHidden("all") //nolint:errcheck flags.MarkDeprecated("all", "By default all the containers of the service will get the source file/directory to be copied.") //nolint:errcheck diff --git a/docs/reference/compose_cp.md b/docs/reference/compose_cp.md index f9bc2143..dd9a02e6 100644 --- a/docs/reference/compose_cp.md +++ b/docs/reference/compose_cp.md @@ -9,7 +9,7 @@ Copy files/folders between a service container and the local filesystem | --- | --- | --- | --- | | `-a`, `--archive` | | | Archive mode (copy all uid/gid information) | | `-L`, `--follow-link` | | | Always follow symbol link in SRC_PATH | -| `--index` | `int` | `0` | Index of the container if there are multiple instances of a service [default: 1 when copying from a container]. | +| `--index` | `int` | `0` | Index of the container if there are multiple instances of a service . | diff --git a/docs/reference/docker_compose_cp.yaml b/docs/reference/docker_compose_cp.yaml index fd3ef642..9f338242 100644 --- a/docs/reference/docker_compose_cp.yaml +++ b/docs/reference/docker_compose_cp.yaml @@ -42,7 +42,7 @@ options: value_type: int default_value: "0" description: | - Index of the container if there are multiple instances of a service [default: 1 when copying from a container]. + Index of the container if there are multiple instances of a service . deprecated: false hidden: false experimental: false