summaryrefslogtreecommitdiff
path: root/completions/bash/podman
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-06-22 05:56:47 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-06-23 15:31:08 -0400
commit0560a98e0e0d68e5fcd9ee13b5b5c1ea944528c2 (patch)
tree1b68848fcf379aea8ea677b212e23d24121dfe13 /completions/bash/podman
parent0d961a40ba40b3fbd69090c49ee3cec7151f8a8e (diff)
downloadpodman-0560a98e0e0d68e5fcd9ee13b5b5c1ea944528c2.tar.gz
podman-0560a98e0e0d68e5fcd9ee13b5b5c1ea944528c2.tar.bz2
podman-0560a98e0e0d68e5fcd9ee13b5b5c1ea944528c2.zip
Add podman network to bash command completions
network commands were not supported in command completions. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'completions/bash/podman')
-rw-r--r--completions/bash/podman12
1 files changed, 7 insertions, 5 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 595739abf..cb4e86156 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -1018,14 +1018,15 @@ _podman_network_create() {
;;
esac
}
+
_podman_network_inspect() {
local options_with_args="
+ --format
+ -f
"
local boolean_options="
--help
-h
- --format
- -f
"
_complete_ "$options_with_args" "$boolean_options"
@@ -1038,15 +1039,15 @@ _podman_network_inspect() {
_podman_network_ls() {
local options_with_args="
+ --format
+ -f
+ --filter
"
local boolean_options="
--help
-h
--quiet
-q
- --format
- -f
- -- filter
"
_complete_ "$options_with_args" "$boolean_options"
@@ -3565,6 +3566,7 @@ _podman_podman() {
logs
manifest
mount
+ network
pause
pod
port