瀏覽代碼

Merge pull request #1511 from vladdu/patch-2

minor fix: name of internal function
pull/1513/head
alisdair sullivan 8 年之前
committed by GitHub
父節點
當前提交
86e883b8d8
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/rebar_prv_path.erl

+ 2
- 2
src/rebar_prv_path.erl 查看文件

@ -27,7 +27,7 @@ init(State) ->
{example, "rebar3 path"}, {example, "rebar3 path"},
{short_desc, "Print paths to build dirs in current profile."}, {short_desc, "Print paths to build dirs in current profile."},
{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}. {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_atom(AppName) -> atom_to_list(AppName);
normalize(AppName) when is_binary(AppName) -> binary_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)}, [{app, undefined, "app", string, help(app)},
{base, undefined, "base", boolean, help(base)}, {base, undefined, "base", boolean, help(base)},
{bin, undefined, "bin", boolean, help(bin)}, {bin, undefined, "bin", boolean, help(bin)},

Loading…
取消
儲存