mirror of
https://github.com/containers/podman
synced 2024-10-20 01:03:51 +00:00
Add -i to exec for compatibility reasons
No change to functionality Issue: #606 Signed-off-by: baude <bbaude@redhat.com> Closes: #607 Approved by: rhatdan
This commit is contained in:
parent
864b9c06c0
commit
22c00ceebb
|
@ -19,6 +19,10 @@ var (
|
|||
Name: "privileged",
|
||||
Usage: "Give the process extended Linux capabilities inside the container. The default is false",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "interactive, i",
|
||||
Usage: "Not supported. All exec commands are interactive by default.",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "tty, t",
|
||||
Usage: "Allocate a pseudo-TTY. The default is false",
|
||||
|
@ -36,13 +40,14 @@ var (
|
|||
`
|
||||
|
||||
execCommand = cli.Command{
|
||||
Name: "exec",
|
||||
Usage: "Run a process in a running container",
|
||||
Description: execDescription,
|
||||
Flags: execFlags,
|
||||
Action: execCmd,
|
||||
ArgsUsage: "CONTAINER-NAME",
|
||||
SkipArgReorder: true,
|
||||
Name: "exec",
|
||||
Usage: "Run a process in a running container",
|
||||
Description: execDescription,
|
||||
Flags: execFlags,
|
||||
Action: execCmd,
|
||||
ArgsUsage: "CONTAINER-NAME",
|
||||
SkipArgReorder: true,
|
||||
UseShortOptionHandling: true,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue