[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 38516ee43194fd496971a9c37e23109f3816e4bf
Guillaume Rousse
guillaume at oberkampf.msr-inria.inria.fr
Thu Dec 31 16:36:42 UTC 2009
The following commit has been merged in the master branch:
commit ec1e137977271399b1ceb820934efe2b91affac0
Author: Guillaume Rousse <guillaume at oberkampf.msr-inria.inria.fr>
Date: Wed Dec 30 00:41:15 2009 +0100
indentation fix
diff --git a/contrib/cksfv b/contrib/cksfv
index 02e1cc4..34bf0f5 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 3d5a881..0b6a1ba 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 ] && \
--
bash-completion
More information about the Bash-completion-commits
mailing list