mirror of
https://github.com/containers/podman.git
synced 2025-05-21 00:56:36 +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.
|
execDescription = `Execute the specified command inside a running container.
|
||||||
`
|
`
|
||||||
execCommand = &cobra.Command{
|
execCommand = &cobra.Command{
|
||||||
Use: "exec [options] CONTAINER [COMMAND [ARG...]]",
|
Use: "exec [options] CONTAINER COMMAND [ARG...]",
|
||||||
Short: "Run a process in a running container",
|
Short: "Run a process in a running container",
|
||||||
Long: execDescription,
|
Long: execDescription,
|
||||||
RunE: exec,
|
RunE: exec,
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
podman\-exec - Execute a command in a running container
|
podman\-exec - Execute a command in a running container
|
||||||
|
|
||||||
## SYNOPSIS
|
## 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
|
## DESCRIPTION
|
||||||
**podman exec** executes a command in a running container.
|
**podman exec** executes a command in a running container.
|
||||||
|
Reference in New Issue
Block a user