diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-06-10 17:20:49 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-06-10 17:20:49 +0200 |
commit | 013a49a941907ed41c0626703734acfb55f92aba (patch) | |
tree | 8997b3f50ca4edf13ffc21960d70adf81b2a5644 | |
parent | b6abc6a64d2d0f2e83dd578603ef7ad3da4b9e92 (diff) |
Add list-deps to completion and abbrev-cmds
-rw-r--r-- | priv/shell-completion/bash/rebar | 2 | ||||
-rw-r--r-- | src/rebar.erl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/priv/shell-completion/bash/rebar b/priv/shell-completion/bash/rebar index fb5221c..db24428 100644 --- a/priv/shell-completion/bash/rebar +++ b/priv/shell-completion/bash/rebar @@ -10,7 +10,7 @@ _rebar() lopts=" --help --commands --verbose --force --jobs= --version" cmdsnvars="check-deps clean compile create create-app create-node \ ct doc delete-deps eunit get-deps generate generate-upgrade \ - help list-templates update-deps version xref \ + help list-deps list-templates update-deps version xref \ case= force=1 jobs= suite= verbose=1 appid= previous_release= \ skip_deps=true skip_app= template= template_dir=" diff --git a/src/rebar.erl b/src/rebar.erl index a632372..7f33d4d 100644 --- a/src/rebar.erl +++ b/src/rebar.erl @@ -217,7 +217,7 @@ check-deps Display to be fetched dependencies get-deps Fetch dependencies update-deps Update fetched dependencies delete-deps Delete fetched dependencies -list-deps List fetched dependencies +list-deps List dependencies generate [dump_spec=0/1] Build release with reltool @@ -276,8 +276,8 @@ filter_flags([Item | Rest], Commands) -> command_names() -> ["check-deps", "clean", "compile", "create", "create-app", "create-node", "ct", "delete-deps", "doc", "eunit", "generate", "generate-appups", - "generate-upgrade", "get-deps", "help", "list-templates", "update-deps", - "version", "xref"]. + "generate-upgrade", "get-deps", "help", "list-deps", "list-templates", + "update-deps", "version", "xref"]. unabbreviate_command_names([]) -> []; |