summaryrefslogtreecommitdiff
path: root/cmd/podman/images/trust_show.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-24 09:27:07 -0400
committerGitHub <noreply@github.com>2020-06-24 09:27:07 -0400
commitc48a5420135ecbff294e1fbce95be0adf9fc2931 (patch)
treeab0c8e41595adfbec664ffc7e9c7cbfdf6e51623 /cmd/podman/images/trust_show.go
parentb74238864fe4a6fe22f3a8a370e9a32ea21ee383 (diff)
parent6864a5547a774d19a7ccb9d50a7799b721fb66ef (diff)
downloadpodman-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/images/trust_show.go')
-rw-r--r--cmd/podman/images/trust_show.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/images/trust_show.go b/cmd/podman/images/trust_show.go
index 23ee6c709..dbaa800a4 100644
--- a/cmd/podman/images/trust_show.go
+++ b/cmd/podman/images/trust_show.go
@@ -18,6 +18,7 @@ var (
Short: "Display trust policy for the system",
Long: showTrustDescription,
RunE: showTrust,
+ Args: cobra.MaximumNArgs(1),
Example: "",
}
)