This commit is contained in:
Feng 2015-10-01 11:18:00 +08:00
parent 91bd0c654c
commit 1a8056df22
1 changed files with 5 additions and 1 deletions

View File

@ -27,5 +27,9 @@
io:format(Msg)).
-define(PRINT_CMD(Cmd, Descr),
io:format("~-40s~s~n", [Cmd, Descr])).
io:format("~-40s#~s~n", [Cmd, Descr])).
-define(USAGE(CmdList),
[?PRINT_CMD(Cmd, Descr) || {Cmd, Descr} <- CmdList]).