Add commands option to bash completion

Add -c/--commands option to the bash completion script.
This commit is contained in:
Tuncer Ayaz 2010-03-08 21:59:28 +01:00
parent ebfb1dc40d
commit 16c5de8aea

View file

@ -6,8 +6,8 @@ _rebar()
COMPREPLY=() COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}" cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}" prev="${COMP_WORDS[COMP_CWORD-1]}"
sopts="-h -v -f -j" sopts="-h -c -v -f -j"
lopts=" --help --verbose --force --jobs=" lopts=" --help --commands --verbose --force --jobs="
cmdsnvars="analyze build_plt check_plt clean compile \ cmdsnvars="analyze build_plt check_plt clean compile \
create-app create-node eunit generate \ create-app create-node eunit generate \
install int_test perf_test test \ install int_test perf_test test \