diff --git a/cmd/podman/containers/exec.go b/cmd/podman/containers/exec.go index 428e635409..3679af6b86 100644 --- a/cmd/podman/containers/exec.go +++ b/cmd/podman/containers/exec.go @@ -24,7 +24,7 @@ var ( execDescription = `Execute the specified command inside a running container. ` execCommand = &cobra.Command{ - Use: "exec [options] CONTAINER [COMMAND [ARG...]]", + Use: "exec [options] CONTAINER COMMAND [ARG...]", Short: "Run a process in a running container", Long: execDescription, RunE: exec, diff --git a/docs/source/markdown/podman-exec.1.md.in b/docs/source/markdown/podman-exec.1.md.in index d76185a4e3..c12d86a2ad 100644 --- a/docs/source/markdown/podman-exec.1.md.in +++ b/docs/source/markdown/podman-exec.1.md.in @@ -4,9 +4,9 @@ podman\-exec - Execute a command in a running container ## SYNOPSIS -**podman exec** [*options*] *container* [*command* [*arg* ...]] +**podman exec** [*options*] *container* *command* [*arg* ...] -**podman container exec** [*options*] *container* [*command* [*arg* ...]] +**podman container exec** [*options*] *container* *command* [*arg* ...] ## DESCRIPTION **podman exec** executes a command in a running container.