Add template variable to bash completion

Add create command's template variable to bash completion.
This commit is contained in:
Tuncer Ayaz 2010-03-11 01:40:06 +01:00
parent faf21694fe
commit 459b312ada

View file

@ -11,7 +11,7 @@ _rebar()
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 \
case= force=1 jobs= suite= verbose=1 appid= target=" case= force=1 jobs= suite= verbose=1 appid= target= template="
if [[ ${cur} == --* ]] ; then if [[ ${cur} == --* ]] ; then
COMPREPLY=( $(compgen -W "${lopts}" -- ${cur}) ) COMPREPLY=( $(compgen -W "${lopts}" -- ${cur}) )