Helpful message when no commands available
This commit is contained in:
parent
83b1f3e6c8
commit
59f95f8421
|
@ -127,7 +127,7 @@ get_commands() ->
|
|||
help() ->
|
||||
case ets:tab2list(?CMD_TAB) of
|
||||
[] ->
|
||||
print("No commands available, make sure you have plugin emqx_management started.~n");
|
||||
print("No commands available.~n");
|
||||
Cmds ->
|
||||
print("Usage: ~s~n", [?MODULE]),
|
||||
lists:foreach(fun({_, {Mod, Cmd}, _}) ->
|
||||
|
|
Loading…
Reference in New Issue