summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash-completion8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/bash-completion b/contrib/bash-completion
index b47d92b..49f1e6b 100644
--- a/contrib/bash-completion
+++ b/contrib/bash-completion
@@ -11,17 +11,17 @@ _netctl()
case $COMP_CWORD in
1)
COMPREPLY=( $(compgen -W "--help --version list store restore stop-all start stop restart switch-to status enable disable reenable" -- $cur) )
- ;;
+ ;;
2)
case $prev in
start|stop|restart|switch-to|status|enable|disable|reenable)
mapfile -t COMPREPLY < <(IFS=$'\n'; compgen -W "$prof" -- $cur)
- ;;
+ ;;
esac
- ;;
+ ;;
*)
COMPREPLY=()
- ;;
+ ;;
esac
} &&
complete -F _netctl netctl