diff options
-rw-r--r-- | src/rebar_prv_help.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rebar_prv_help.erl b/src/rebar_prv_help.erl index 33bfa2c..690ca7d 100644 --- a/src/rebar_prv_help.erl +++ b/src/rebar_prv_help.erl @@ -36,10 +36,11 @@ do(State) -> {Args, _} = rebar_state:command_parsed_args(State), case proplists:get_value(help_task, Args, undefined) of undefined -> - help(State); + help(State), + {ok, State}; Name -> Providers = rebar_state:providers(State), - case providers:get_provider(Name, Providers) of + case providers:get_provider(list_to_atom(Name), Providers) of [] -> {error, io_lib:format("Unknown task ~s", [Name])}; Provider -> |