Fixed bash-completion to use --jobs without equal sign and removed comment

This commit is contained in:
Tuncer Ayaz 2010-01-09 13:31:31 +01:00
parent 2ae3fd9aae
commit 1e6d92a3a6

View file

@ -1,6 +1,5 @@
# bash completion for rebar # bash completion for rebar
#have rebar &&
_rebar() _rebar()
{ {
local cur prev opts local cur prev opts
@ -8,7 +7,7 @@ _rebar()
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 -v -f -j"
lopts=" --help --verbose --force --jobs=" lopts=" --help --verbose --force --jobs"
cmdsnvars="analyze build_plt clean compile create-app \ cmdsnvars="analyze build_plt clean compile create-app \
create-app create-node eunit generate \ create-app create-node eunit generate \
int_test perf_test test \ int_test perf_test test \