aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_cmd_args.erl
diff options
context:
space:
mode:
authorEric Merritt <[email protected]>2013-09-20 21:44:57 -0700
committerEric Merritt <[email protected]>2013-09-20 21:44:57 -0700
commitca0370134cea77ea91555db136d6a144bb1b78c6 (patch)
treeda263680b3ecb28ff8723e4ac0ca4a0e5b99b92f /src/rlx_cmd_args.erl
parent2ef124bf890d98a4b71cafd89c280c8c084bc300 (diff)
parent21056c6af7e0be26f49ed3c72fe297c56a2737bc (diff)
downloadrelx-ca0370134cea77ea91555db136d6a144bb1b78c6.tar.gz
relx-ca0370134cea77ea91555db136d6a144bb1b78c6.tar.bz2
relx-ca0370134cea77ea91555db136d6a144bb1b78c6.zip
Merge pull request #49 from tsloughter/master
replace confusing disable-default-libs option with default-libs true or false
Diffstat (limited to 'src/rlx_cmd_args.erl')
-rw-r--r--src/rlx_cmd_args.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_cmd_args.erl b/src/rlx_cmd_args.erl
index 619163a..621b626 100644
--- a/src/rlx_cmd_args.erl
+++ b/src/rlx_cmd_args.erl
@@ -245,8 +245,8 @@ create_root_dir(Opts, Acc) ->
-spec create_disable_default_libs([getopt:option()], rlx_state:cmd_args()) ->
{ok, rlx_state:cmd_args()} | relx:error().
create_disable_default_libs(Opts, Acc) ->
- Def = proplists:get_value(disable_default_libs, Opts, false),
- create_upfrom(Opts, [{disable_default_libs, Def} | Acc]).
+ Def = proplists:get_value(default_libs, Opts, true),
+ create_upfrom(Opts, [{default_libs, Def} | Acc]).
-spec create_upfrom([getopt:option()], rlx_state:cmd_args()) ->
{ok, rlx_state:cmd_args()} | relx:error().