summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-06-22 05:56:47 -0400
committerMatthew Heon <mheon@redhat.com>2020-06-24 14:42:18 -0400
commitddf78b2ba2b2e95bb700b48d2d9e9ec2332ed82a (patch)
tree67f68f2b54addd5878ac959f27bd19d9b6e75f5c /completions
parentbfd303e1625e21461c6fb409732b7ad762d0727b (diff)
downloadpodman-ddf78b2ba2b2e95bb700b48d2d9e9ec2332ed82a.tar.gz
podman-ddf78b2ba2b2e95bb700b48d2d9e9ec2332ed82a.tar.bz2
podman-ddf78b2ba2b2e95bb700b48d2d9e9ec2332ed82a.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')
-rw-r--r--completions/bash/podman12
1 files changed, 7 insertions, 5 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 5e990ec41..053dd7047 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"
@@ -3564,6 +3565,7 @@ _podman_podman() {
logs
manifest
mount
+ network
pause
pod
port