summaryrefslogtreecommitdiff
path: root/src/rebar3.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r--src/rebar3.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index b325dc8..d4307f7 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -71,10 +71,10 @@ main(Args) ->
end.
%% Erlang-API entry point
-run(BaseState, Command) ->
+run(BaseState, Commands) ->
_ = application:load(rebar),
- BaseState1 = rebar_state:set(BaseState, task, Command),
- run_aux(BaseState1, [], [Command]).
+ BaseState1 = rebar_state:set(BaseState, task, Commands),
+ run_aux(BaseState1, [], Commands).
%% ====================================================================
%% Internal functions