aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/trust_set_show.go
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-02-27 06:01:14 -0700
committerEd Santiago <santiago@redhat.com>2019-02-27 14:18:15 -0700
commit9a3a59c3a5c838abcd8aaf2217bb3bb5f7e995b2 (patch)
tree147bd07a96f412146c58414b7692070ffb3b7850 /cmd/podman/trust_set_show.go
parent4e553cfd468c06ae45a88c51c57137dc4607ffe4 (diff)
downloadpodman-9a3a59c3a5c838abcd8aaf2217bb3bb5f7e995b2.tar.gz
podman-9a3a59c3a5c838abcd8aaf2217bb3bb5f7e995b2.tar.bz2
podman-9a3a59c3a5c838abcd8aaf2217bb3bb5f7e995b2.zip
Followup to #2456: update examples, add trust
- belatedly incorporate review feedback from baude - add usage synopsis for trust-set and trust-show Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'cmd/podman/trust_set_show.go')
-rw-r--r--cmd/podman/trust_set_show.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/trust_set_show.go b/cmd/podman/trust_set_show.go
index 0a4783d0a..746854249 100644
--- a/cmd/podman/trust_set_show.go
+++ b/cmd/podman/trust_set_show.go
@@ -23,7 +23,7 @@ var (
showTrustCommand cliconfig.ShowTrustValues
setTrustDescription = "Set default trust policy or add a new trust policy for a registry"
_setTrustCommand = &cobra.Command{
- Use: "set",
+ Use: "set [flags] REGISTRY",
Short: "Set default trust policy or a new trust policy for a registry",
Long: setTrustDescription,
Example: "",
@@ -36,7 +36,7 @@ var (
showTrustDescription = "Display trust policy for the system"
_showTrustCommand = &cobra.Command{
- Use: "show",
+ Use: "show [flags] [REGISTRY]",
Short: "Display trust policy for the system",
Long: showTrustDescription,
RunE: func(cmd *cobra.Command, args []string) error {