Add doc command and skip_deps option to bash completion

This commit is contained in:
Tuncer Ayaz 2010-06-30 20:24:22 +02:00
parent ef175652e4
commit 52609eaca1

View file

@ -9,10 +9,11 @@ _rebar()
sopts="-h -c -v -V -f -j" sopts="-h -c -v -V -f -j"
lopts=" --help --commands --verbose --force --jobs= --version" lopts=" --help --commands --verbose --force --jobs= --version"
cmdsnvars="analyze build_plt check_plt check-deps clean compile \ cmdsnvars="analyze build_plt check_plt check-deps clean compile \
create create-app create-node delete-deps eunit \ create create-app create-node doc delete-deps eunit \
get-deps generate help install int_test perf_test test \ get-deps generate help install int_test perf_test test \
version xref \ version xref \
case= force=1 jobs= suite= verbose=1 appid= target= template=" case= force=1 jobs= suite= verbose=1 appid= target= template= \
skip_deps=1"
if [[ ${cur} == --* ]] ; then if [[ ${cur} == --* ]] ; then
COMPREPLY=( $(compgen -W "${lopts}" -- ${cur}) ) COMPREPLY=( $(compgen -W "${lopts}" -- ${cur}) )