diff options
author | Cédric Girard <girard.cedric@gmail.com> | 2011-07-30 14:34:58 +0200 |
---|---|---|
committer | Rémy Oudompheng <remy@archlinux.org> | 2011-07-30 14:34:58 +0200 |
commit | ffb6d8e02a98548ba8310c35a0df358474f710a2 (patch) | |
tree | 791a4cc345369f523e02fd0f63d03fffeb8a0d8c /contrib/bash-completion | |
parent | e636826db649ab4e1eac32283b5cee006fa6b490 (diff) | |
download | netctl-ffb6d8e02a98548ba8310c35a0df358474f710a2.tar.gz netctl-ffb6d8e02a98548ba8310c35a0df358474f710a2.tar.xz |
bash-completion: add support for -r option
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'contrib/bash-completion')
-rw-r--r-- | contrib/bash-completion | 6 |
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 ;; |