diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_help.erl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/rebar_prv_help.erl b/src/rebar_prv_help.erl index 5b9b8ca..f3302c3 100644 --- a/src/rebar_prv_help.erl +++ b/src/rebar_prv_help.erl @@ -39,15 +39,7 @@ do(State) -> help(State); Name -> Providers = rebar_state:providers(State), - Provider = providers:get_provider(list_to_atom(Name), Providers), - Opts = providers:opts(Provider), - case providers:desc(Provider) of - Desc when length(Desc) > 0 -> - io:format(Desc++"~n~n"); - _ -> - ok - end, - getopt:usage(Opts, "rebar "++Name, "", []) + providers:help(Name, Providers) end, {ok, State}. |