summaryrefslogtreecommitdiff
path: root/cmd/kpod/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/kpod/run.go')
-rw-r--r--cmd/kpod/run.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/kpod/run.go b/cmd/kpod/run.go
index 904977940..6b67b55cd 100644
--- a/cmd/kpod/run.go
+++ b/cmd/kpod/run.go
@@ -12,12 +12,13 @@ import (
var runDescription = "Runs a command in a new container from the given image"
var runCommand = cli.Command{
- Name: "run",
- Usage: "run a command in a new container",
- Description: runDescription,
- Flags: createFlags,
- Action: runCmd,
- ArgsUsage: "IMAGE [COMMAND [ARG...]]",
+ Name: "run",
+ Usage: "run a command in a new container",
+ Description: runDescription,
+ Flags: createFlags,
+ Action: runCmd,
+ ArgsUsage: "IMAGE [COMMAND [ARG...]]",
+ SkipArgReorder: true,
}
func runCmd(c *cli.Context) error {