From b74e38b042cb32cead9adacbe75256a89e5cb664 Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 22 Jan 2018 13:56:08 -0600 Subject: podman port podman port reports the port mappings per container. it can be used to report the ports ofa single container or latest container or all containers. in the case of a single container, the user can add an option filter for port and protocol. Signed-off-by: baude --- completions/bash/podman | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'completions/bash/podman') diff --git a/completions/bash/podman b/completions/bash/podman index b1a19f255..f8086220e 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -1413,6 +1413,18 @@ _podman_pause() { _complete_ "$options_with_args" "$boolean_options" } +_podman_port() { + local options_with_args=" + --help -h + " + local boolean_options=" + --all + -a + -l + --latest" + _complete_ "$options_with_args" "$boolean_options" +} + _podman_ps() { local options_with_args=" --filter -f @@ -1566,6 +1578,7 @@ _podman_podman() { logs mount pause + port ps pull push -- cgit v1.2.3-54-g00ecf