mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-06 14:07:50 +00:00
Add podman network to bash command completions
network commands were not supported in command completions. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
bfd303e162
commit
ddf78b2ba2
1 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue