summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Dumitrescu <vladdu55@gmail.com>2017-03-06 17:44:28 +0100
committerGitHub <noreply@github.com>2017-03-06 17:44:28 +0100
commitb763a9e14a0d96ad7663ea35c7d6be8b05c84006 (patch)
treeb3ea1923b2594ded1114ee8e7df1be689e74b873
parent3e66bbb1b979bb631595cbaf582d64df09d24674 (diff)
minor fix: name of internal function
-rw-r--r--src/rebar_prv_path.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_prv_path.erl b/src/rebar_prv_path.erl
index 4259eec..05fb046 100644
--- a/src/rebar_prv_path.erl
+++ b/src/rebar_prv_path.erl
@@ -27,7 +27,7 @@ init(State) ->
{example, "rebar3 path"},
{short_desc, "Print paths to build dirs in current profile."},
{desc, "Print paths to build dirs in current profile."},
- {opts, eunit_opts(State)}])),
+ {opts, path_opts(State)}])),
{ok, State1}.
@@ -107,8 +107,8 @@ normalize(AppName) when is_list(AppName) -> AppName;
normalize(AppName) when is_atom(AppName) -> atom_to_list(AppName);
normalize(AppName) when is_binary(AppName) -> binary_to_list(AppName).
-eunit_opts(_State) ->
- [{app, undefined, "app", string, help(app)},
+path_opts(_State) ->
+ [{app, undefined, "apps", string, help(app)},
{base, undefined, "base", boolean, help(base)},
{bin, undefined, "bin", boolean, help(bin)},
{ebin, undefined, "ebin", boolean, help(ebin)},