summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-01-03 16:16:25 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-01-03 16:16:25 +0100
commit6539dfe0df5c19e8acb8fe251b46098a25719cbc (patch)
tree72a2e189ca588b4d3878db73cb7171063287d35e /contrib
parentfafa6603f87d68fd6b30dcfd4600cb1006e02a9e (diff)
downloadnetctl-6539dfe0df5c19e8acb8fe251b46098a25719cbc.tar.gz
netctl-6539dfe0df5c19e8acb8fe251b46098a25719cbc.tar.xz
Indentation fixes
This settles a style for 'case' statements: The label and closing colons are indented with two spaces, The body is indented with two more, totalling four spaces.
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