diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-24 09:27:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 09:27:07 -0400 |
commit | c48a5420135ecbff294e1fbce95be0adf9fc2931 (patch) | |
tree | ab0c8e41595adfbec664ffc7e9c7cbfdf6e51623 /cmd/podman/generate | |
parent | b74238864fe4a6fe22f3a8a370e9a32ea21ee383 (diff) | |
parent | 6864a5547a774d19a7ccb9d50a7799b721fb66ef (diff) | |
download | podman-c48a5420135ecbff294e1fbce95be0adf9fc2931.tar.gz podman-c48a5420135ecbff294e1fbce95be0adf9fc2931.tar.bz2 podman-c48a5420135ecbff294e1fbce95be0adf9fc2931.zip |
Merge pull request #6733 from edsantiago/bats_help_extra_args
BATS tests: new too-many-arguments test
Diffstat (limited to 'cmd/podman/generate')
-rw-r--r-- | cmd/podman/generate/systemd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/generate/systemd.go b/cmd/podman/generate/systemd.go index e4fdd8690..b4ab0f9df 100644 --- a/cmd/podman/generate/systemd.go +++ b/cmd/podman/generate/systemd.go @@ -20,7 +20,7 @@ var ( Short: "Generate systemd units.", Long: systemdDescription, RunE: systemd, - Args: cobra.MinimumNArgs(1), + Args: cobra.ExactArgs(1), Example: `podman generate systemd CTR podman generate systemd --new --time 10 CTR podman generate systemd --files --name POD`, |