diff --git a/exec.go b/exec.go index 6bedcccd..db1f7265 100644 --- a/exec.go +++ b/exec.go @@ -95,6 +95,7 @@ following will output a list of processes running in the container: } return fmt.Errorf("exec failed: %v", err) }, + SkipArgReorder: true, } func execProcess(context *cli.Context) (int, error) { diff --git a/ps.go b/ps.go index af261836..43330850 100644 --- a/ps.go +++ b/ps.go @@ -87,6 +87,7 @@ var psCommand = cli.Command{ } return nil }, + SkipArgReorder: true, } func getPidIndex(title string) (int, error) {