Quellcode durchsuchen

minor fix: name of internal function

pull/1511/head
Vlad Dumitrescu vor 8 Jahren
committed von GitHub
Ursprung
Commit
b763a9e14a
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. +3
    -3
      src/rebar_prv_path.erl

+ 3
- 3
src/rebar_prv_path.erl Datei anzeigen

@ -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)},

Laden…
Abbrechen
Speichern