Revert logger print to io:format 2

This commit is contained in:
terry-xiaoyu 2018-11-10 11:25:52 +08:00
parent 2611b6fc2a
commit 6e26f5e9af
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ lookup_command(Cmd) when is_atom(Cmd) ->
end.
usage() ->
logger:info("Usage: ~s", [?MODULE]),
[begin logger:info("~80..-s", [""]), Mod:Cmd(usage) end
io:format("Usage: ~s~n", [?MODULE]),
[begin io:format("~80..-s~n", [""]), Mod:Cmd(usage) end
|| {_, {Mod, Cmd}, _} <- ets:tab2list(?TAB)].
%%------------------------------------------------------------------------------