diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/bash-completion | 4 | ||||
-rw-r--r-- | contrib/zsh-completion | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/bash-completion b/contrib/bash-completion index 8ec6a12..d045844 100644 --- a/contrib/bash-completion +++ b/contrib/bash-completion @@ -18,7 +18,7 @@ _netcfg () cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="-l -c -u -r -R -d -i -a -v -h" + opts="-l -c -u -r -R -d -D -a -v -h" lopts="--help --version" cmds="list current check-iface up reconnect iface-recon down iface-down all-down all-suspend" prfls="`find /etc/network.d -maxdepth 1 -type f -not -name '*~' -not -name '*.conf' -not -name '.*' d -printf '%f\n'`" @@ -40,7 +40,7 @@ _netcfg () esac case "${prev}" in - -R|iface-recon|-i|iface-down) + -R|iface-recon|-D|iface-down) _connected_intfs return 0 ;; diff --git a/contrib/zsh-completion b/contrib/zsh-completion index 1f9fa9e..8d05ee4 100644 --- a/contrib/zsh-completion +++ b/contrib/zsh-completion @@ -38,7 +38,7 @@ _arguments -C \ '(- *)-r[Disconnect and reconnect the specified profile]:Active profiles:up_profiles' \ '(- *)-R[Reconnect profile active on specified interface]:Active interface:up_ifaces' \ '(- *)-d[Take specified profile down]:Active profile:up_profiles' \ -'(- *)-i[Take down profile active on specified interface]:Active interface:up_ifaces' \ +'(- *)-D[Take down profile active on specified interface]:Active interface:up_ifaces' \ '(- *)-a[Take all active profiles down]' \ '(- *)*:All options:all_options' |