|
@ -39,10 +39,10 @@ do(State) -> |
|
|
%% |
|
|
%% |
|
|
help(State) -> |
|
|
help(State) -> |
|
|
?CONSOLE("Rebar is a tool for working with Erlang projects.~n~n", []), |
|
|
?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", "", []), |
|
|
getopt:usage(OptSpecList, "rebar", "", []), |
|
|
?CONSOLE("~nSeveral tasks are available:~n", []), |
|
|
?CONSOLE("~nSeveral tasks are available:~n", []), |
|
|
|
|
|
|
|
|
providers:help(State), |
|
|
|
|
|
|
|
|
providers:help(rebar_state:providers(State)), |
|
|
|
|
|
|
|
|
?CONSOLE("~nRun 'rebar help <TASK>' for details.~n~n", []). |
|
|
?CONSOLE("~nRun 'rebar help <TASK>' for details.~n~n", []). |