diff options
Diffstat (limited to 'cmd/podman/varlink.go')
-rw-r--r-- | cmd/podman/varlink.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/podman/varlink.go b/cmd/podman/varlink.go index f19d03885..5cc79ef96 100644 --- a/cmd/podman/varlink.go +++ b/cmd/podman/varlink.go @@ -49,6 +49,9 @@ func varlinkCmd(c *cliconfig.VarlinkValues) error { if len(args) < 1 { return errors.Errorf("you must provide a varlink URI") } + if len(args) > 1 { + return errors.Errorf("too many arguments. Requires exactly 1") + } timeout := time.Duration(c.Timeout) * time.Millisecond // Create a single runtime for varlink |