Browse Source

Merge pull request #1511 from vladdu/patch-2

minor fix: name of internal function
pull/1513/head
alisdair sullivan 8 years ago
committed by GitHub
parent
commit
86e883b8d8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/rebar_prv_path.erl

+ 2
- 2
src/rebar_prv_path.erl View File

@ -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,7 +107,7 @@ 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) ->
path_opts(_State) ->
[{app, undefined, "app", string, help(app)},
{base, undefined, "base", boolean, help(base)},
{bin, undefined, "bin", boolean, help(bin)},

Loading…
Cancel
Save