From ec1e137977271399b1ceb820934efe2b91affac0 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Wed, 30 Dec 2009 00:41:15 +0100 Subject: [PATCH] indentation fix --- contrib/cksfv | 16 +++++++-------- contrib/dict | 54 +++++++++++++++++++++++++-------------------------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/contrib/cksfv b/contrib/cksfv index 02e1cc46..34bf0f5d 100644 --- a/contrib/cksfv +++ b/contrib/cksfv @@ -12,14 +12,14 @@ _cksfv() fi case ${COMP_WORDS[$COMP_CWORD-1]} in - -C) - _filedir -d - return 0 - ;; - -f) - _filedir 'sfv' - return 0 - ;; + -C) + _filedir -d + return 0 + ;; + -f) + _filedir 'sfv' + return 0 + ;; esac _filedir diff --git a/contrib/dict b/contrib/dict index 3d5a881c..0b6a1ba5 100644 --- a/contrib/dict +++ b/contrib/dict @@ -18,23 +18,23 @@ _dict() for (( i=1; i < COMP_CWORD; i++ )); do case ${COMP_WORDS[i]} in - -h|--host) - host=${COMP_WORDS[i+1]} - [ -n "$host" ] && host="-h $host" - i=$((++i)) - ;; - -p|--port) - port=${COMP_WORDS[i+1]} - [ -n "$port" ] && port="-p $port" - i=$((++i)) - ;; - -d|--database) - db=${COMP_WORDS[i+1]} - [ -n "$db" ] && host="-d $db" - i=$((++i)) - ;; - *) - ;; + -h|--host) + host=${COMP_WORDS[i+1]} + [ -n "$host" ] && host="-h $host" + i=$((++i)) + ;; + -p|--port) + port=${COMP_WORDS[i+1]} + [ -n "$port" ] && port="-p $port" + i=$((++i)) + ;; + -d|--database) + db=${COMP_WORDS[i+1]} + [ -n "$db" ] && host="-d $db" + i=$((++i)) + ;; + *) + ;; esac done @@ -51,16 +51,16 @@ _dict() fi case $prev in - -d|--database|-i|-info) - COMPREPLY=( $( compgen -W '$( _dictdata -D )' -- "$cur" ) ) - return 0 - ;; - -s|--strategy) - COMPREPLY=( $( compgen -W '$( _dictdata -S )' -- "$cur" ) ) - return 0 - ;; - *) - ;; + -d|--database|-i|-info) + COMPREPLY=( $( compgen -W '$( _dictdata -D )' -- "$cur" ) ) + return 0 + ;; + -s|--strategy) + COMPREPLY=( $( compgen -W '$( _dictdata -S )' -- "$cur" ) ) + return 0 + ;; + *) + ;; esac [ -r $dictfile ] && \