aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_cmd_args.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlx_cmd_args.erl')
-rw-r--r--src/rlx_cmd_args.erl11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rlx_cmd_args.erl b/src/rlx_cmd_args.erl
index f8aebf9..5df9392 100644
--- a/src/rlx_cmd_args.erl
+++ b/src/rlx_cmd_args.erl
@@ -269,6 +269,17 @@ create(paths, Opts) ->
create(dev_mode, Opts) ->
DevMode = proplists:get_value(dev_mode, Opts, false),
{dev_mode, DevMode};
+create(include_erts, Opts) ->
+ case proplists:get_value(include_erts, Opts, true) of
+ IncludeErts when IncludeErts =:= true
+ ; IncludeErts =:= "true" ->
+ {include_erts, true};
+ IncludeErts when IncludeErts =:= false
+ ; IncludeErts =:= "false" ->
+ {include_erts, false};
+ Erts when is_list(Erts) ->
+ {include_erts, Erts}
+ end;
create(_, _) ->
[].