summaryrefslogtreecommitdiff
path: root/completions/bash/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-23 19:05:57 -0400
committerGitHub <noreply@github.com>2020-06-23 19:05:57 -0400
commit5fe122bf528a0665f7d12bc47357779b8686f6cf (patch)
tree859b1e1deb0b29dbe6313a6413e93486c7c14fb9 /completions/bash/podman
parent1356f92afb7d4e197c8902a0c8efc4dd6005bb18 (diff)
parent0560a98e0e0d68e5fcd9ee13b5b5c1ea944528c2 (diff)
downloadpodman-5fe122bf528a0665f7d12bc47357779b8686f6cf.tar.gz
podman-5fe122bf528a0665f7d12bc47357779b8686f6cf.tar.bz2
podman-5fe122bf528a0665f7d12bc47357779b8686f6cf.zip
Merge pull request #6706 from rhatdan/completions
Add podman network to bash command completions
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