mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Add doc command and skip_deps option to bash completion
This commit is contained in:
parent
ef175652e4
commit
52609eaca1
1 changed files with 3 additions and 2 deletions
|
@ -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}) )
|
||||||
|
|
Loading…
Reference in a new issue