diff options
author | baude <bbaude@redhat.com> | 2019-02-21 17:09:59 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-22 14:13:08 -0600 |
commit | 6ab6e2c3073d47755d441ee8c1bce90e34082e99 (patch) | |
tree | 38b123449c3b4270acec7f680b688ddb2c502204 /cmd/podman/pod_rm.go | |
parent | 328250e7bef56b0b69dbea124c1170abd289900f (diff) | |
download | podman-6ab6e2c3073d47755d441ee8c1bce90e34082e99.tar.gz podman-6ab6e2c3073d47755d441ee8c1bce90e34082e99.tar.bz2 podman-6ab6e2c3073d47755d441ee8c1bce90e34082e99.zip |
hide --latest on the remote-client
in the case of the remote-client, it was decided to hide the latest
flag to avoid confusion for end-users on what the "last" container,
volume, or pod are.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/pod_rm.go')
-rw-r--r-- | cmd/podman/pod_rm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pod_rm.go b/cmd/podman/pod_rm.go index 6bb4b3d11..b552b9f42 100644 --- a/cmd/podman/pod_rm.go +++ b/cmd/podman/pod_rm.go @@ -42,7 +42,7 @@ func init() { flags.BoolVarP(&podRmCommand.All, "all", "a", false, "Remove all running pods") flags.BoolVarP(&podRmCommand.Force, "force", "f", false, "Force removal of a running pod by first stopping all containers, then removing all containers in the pod. The default is false") flags.BoolVarP(&podRmCommand.Latest, "latest", "l", false, "Remove the latest pod podman is aware of") - + markFlagHiddenForRemoteClient("latest", flags) } // podRmCmd deletes pods |