USAGE
This commit is contained in:
parent
91bd0c654c
commit
1a8056df22
|
@ -27,5 +27,9 @@
|
||||||
io:format(Msg)).
|
io:format(Msg)).
|
||||||
|
|
||||||
-define(PRINT_CMD(Cmd, Descr),
|
-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]).
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue