From ee432cf2792c5dbe81953007f1fd5c87beb3ebd5 Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 8 Aug 2019 06:01:00 -0500 Subject: podman network create initial implementation of network create. we only support bridging networks with this first pass. Signed-off-by: baude --- completions/bash/podman | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'completions/bash') diff --git a/completions/bash/podman b/completions/bash/podman index e6ffb135f..ec660712b 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -952,6 +952,7 @@ _podman_network() { -h " subcommands=" + create inspect ls rm @@ -968,6 +969,27 @@ _podman_network() { esac } +_podman_network_create() { + local options_with_args=" + -d + --driver + --gateway + --ip-range + --subnet + " + local boolean_options=" + --help + -h + --internal + " + _complete_ "$options_with_args" "$boolean_options" + + case "$cur" in + -*) + COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur")) + ;; + esac +} _podman_network_inspect() { local options_with_args=" " @@ -1002,7 +1024,7 @@ _podman_network_ls() { esac } -_podman_network_ls() { +_podman_network_rm() { local options_with_args=" " local boolean_options=" -- cgit v1.2.3-54-g00ecf