mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +00:00
`docker compose bridge transformations create` panicked with an index out of range when invoked without its PATH argument, as RunE indexed args[0] without any validator. Add cli.ExactArgs(1) so the CLI reports a proper usage error instead. Also add cobra.NoArgs to `bridge convert` and `bridge transformations list`, which silently ignored stray arguments. Signed-off-by: Guillaume Lours <glours@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cmdtrace | ||
| compatibility | ||
| compose | ||
| display | ||
| formatter | ||
| prompt | ||
| main.go | ||