Merge pull request #23700 from rhatdan/exec

command is not optional to podman exec
This commit is contained in:
openshift-merge-bot[bot] authored and GitHub committed 2024-08-22 12:16:42 +00:00
commit bfb3a1765d
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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,
+2 -2
View File
@@ -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.