diff --git a/priv/shell-completion/bash/rebar b/priv/shell-completion/bash/rebar index ba87bdd..20c6ec6 100644 --- a/priv/shell-completion/bash/rebar +++ b/priv/shell-completion/bash/rebar @@ -9,8 +9,8 @@ _rebar() sopts="-h -c -v -f -j" lopts=" --help --commands --verbose --force --jobs=" cmdsnvars="analyze build_plt check_plt clean compile \ - create-app create-node eunit generate \ - install int_test perf_test test \ + create-app create-node delete-deps eunit \ + get-deps generate install int_test perf_test test \ case= force=1 jobs= suite= verbose=1 appid= target= template=" if [[ ${cur} == --* ]] ; then diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 0279971..e721576 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -123,7 +123,7 @@ set_global_flag(Options, Flag) -> rebar_config:set_global(Flag, Value). %% -%% print help +%% print help and maybe halt execution %% print_help_maybe_halt(Options, NonOptArgs) -> case proplists:get_bool(help, Options) of @@ -173,6 +173,9 @@ commands() -> "create-app Create simple app skel~n" "create-node Create simple node skel~n" "~n" +"get-deps Fetch dependencies~n" +"delete-deps Delete fetched dependencies~n" +"~n" "generate [dump_spec=0/1] Build release with reltool~n" "install [target=] Install build into target~n" "~n"