summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash-completion6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/bash-completion b/contrib/bash-completion
index 02c8147..cb09803 100644
--- a/contrib/bash-completion
+++ b/contrib/bash-completion
@@ -18,9 +18,9 @@ _netcfg ()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
- opts="-c -d -a -i -h -v"
+ opts="-c -d -a -i -h -v -r"
lopts="--help --version"
- cmds="check-iface down all-down iface-down all-resume all-suspend"
+ cmds="check-iface down all-down iface-down all-resume all-suspend reconnect"
prfls="`find /etc/network.d -maxdepth 1 -not -type d -printf '%f\n'`"
case "${cur}" in
@@ -44,7 +44,7 @@ _netcfg ()
_connected_intfs
return 0
;;
- -d|down)
+ -d|down|-r|reconnect)
_connected_prfls
return 0
;;