From 6539dfe0df5c19e8acb8fe251b46098a25719cbc Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Thu, 3 Jan 2013 16:16:25 +0100 Subject: 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. --- contrib/bash-completion | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib') 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 -- cgit v1.2.3-24-g4f1b