summaryrefslogtreecommitdiff
path: root/src/rebar_prv_help.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_help.erl')
-rw-r--r--src/rebar_prv_help.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_help.erl b/src/rebar_prv_help.erl
index 9c9bbde..4b843ca 100644
--- a/src/rebar_prv_help.erl
+++ b/src/rebar_prv_help.erl
@@ -39,10 +39,10 @@ do(State) ->
%%
help(State) ->
?CONSOLE("Rebar is a tool for working with Erlang projects.~n~n", []),
- OptSpecList = rebar3:option_spec_list(),
+ OptSpecList = rebar3:global_option_spec_list(),
getopt:usage(OptSpecList, "rebar", "", []),
?CONSOLE("~nSeveral tasks are available:~n", []),
- providers:help(State),
+ providers:help(rebar_state:providers(State)),
?CONSOLE("~nRun 'rebar help <TASK>' for details.~n~n", []).