]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/bash-completion/network
ipsec: security policies: Make group type command plural
[people/ms/network.git] / src / bash-completion / network
index 33bf456e56f45a5009e7b9d1c840b9faa0930e30..97061861c28f8e67a1987a1ee6650e3ca04ee147 100644 (file)
@@ -561,7 +561,7 @@ _network_vpn_security_policies_subcommands() {
        shift
        local words=( $@ )
 
-       local commands="ciphers compression group-type integrity key-exchange lifetime pfs pseudo-random-functions show"
+       local commands="ciphers compression group-types integrity key-exchange lifetime pfs pseudo-random-functions show"
        local cmd="$(_network_find_on_cmdline "${commands}")"
        if [[ -z "${cmd}" ]]; then
                COMPREPLY=( $(compgen -W "${commands}" -- "${cur}") )
@@ -577,14 +577,14 @@ _network_vpn_security_policies_subcommands() {
                compression)
                        _network_vpn_security_policies_subcommands_compression ${policy} ${args}
                        ;;
-               group-type)
-                       _network_vpn_security_policies_subcommands_group_type ${policy} ${args}
+               group-types)
+                       _network_vpn_security_policies_subcommands_group_types ${policy} ${args}
                        ;;
                integrity)
                        _network_vpn_security_policies_subcommands_integrity ${policy} ${args}
                        ;;
                pseudo-random-functions)
-                       _network_vpn_security_policies_subcommands_pseudo_random_functions "${policy}" "${args}"
+                       _network_vpn_security_policies_subcommands_pseudo_random_functions ${policy} ${args}
                        ;;
                key-exchange)
                        _network_vpn_security_policies_subcommands_key_exchange ${policy} ${args}
@@ -603,7 +603,7 @@ _network_vpn_security_policies_subcommands_compression() {
        :
 }
 
-_network_vpn_security_policies_subcommands_group_type() {
+_network_vpn_security_policies_subcommands_group_types() {
        :
 }