mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
command is not optional to podman exec
Fixes: https://github.com/containers/podman/issues/22849 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -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,
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user