diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2012-12-01 12:18:53 -0800 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2012-12-01 12:18:53 -0800 |
commit | 89e94337eca4f1b5856d83572f807e83bb7628c6 (patch) | |
tree | b7a8c097531a97524371c946d4dec0a96bcd1f39 /priv | |
parent | 40ef11b4c4134ba9abb43912554c9396336de571 (diff) | |
parent | dfbba0f4e726318ab1083b5c6815c5fd04dd2ebc (diff) |
Merge pull request #33 from tuncer/bash-completion
bash-completion: add missing options and variables
Diffstat (limited to 'priv')
-rw-r--r-- | priv/shell-completion/bash/rebar | 59 |
1 files changed, 51 insertions, 8 deletions
diff --git a/priv/shell-completion/bash/rebar b/priv/shell-completion/bash/rebar index 890929d..d4a42dc 100644 --- a/priv/shell-completion/bash/rebar +++ b/priv/shell-completion/bash/rebar @@ -6,14 +6,57 @@ _rebar() COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" - sopts="-h -c -v -V -f -j" - lopts=" --help --commands --verbose --force --jobs= --version" - cmdsnvars="check-deps clean compile create create-app create-node ct \ - doc delete-deps escriptize eunit get-deps generate generate-appups \ - generate-upgrade help list-deps list-templates qc update-deps \ - version xref overlay apps= case= dump_spec=1 force=1 jobs= suites= \ - verbose=1 appid= previous_release= nodeid= root_dir= skip_deps=true \ - skip_apps= template= template_dir=" + sopts="-h -c -v -V -f -D -j -C -p -k" + lopts="--help \ + --commands \ + --verbose \ + --force \ + --jobs \ + --config \ + --profile \ + --keep-going \ + --version" + cmdsnvars="check-deps \ + clean \ + compile \ + create \ + create-app \ + create-node \ + ct \ + doc \ + delete-deps \ + escriptize \ + eunit \ + get-deps \ + generate \ + generate-appups \ + generate-upgrade \ + help \ + list-deps \ + list-templates \ + qc \ + update-deps \ + version \ + xref \ + overlay \ + apps= \ + case= \ + dump_spec=1 \ + force=1 \ + jobs= \ + suites= \ + verbose=1 \ + appid= \ + overlay_vars= \ + previous_release= \ + nodeid= \ + root_dir= \ + skip_deps=true \ + skip_apps= \ + target_dir= \ + template= \ + template_dir= \ + tests=" if [[ ${cur} == --* ]] ; then COMPREPLY=( $(compgen -W "${lopts}" -- ${cur}) ) |