From 013a49a941907ed41c0626703734acfb55f92aba Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 10 Jun 2011 17:20:49 +0200 Subject: [PATCH] Add list-deps to completion and abbrev-cmds --- priv/shell-completion/bash/rebar | 2 +- 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([]) -> [];