Helpful message when no commands available

This commit is contained in:
terry-xiaoyu 2020-05-23 09:41:25 +08:00
parent 83b1f3e6c8
commit 59f95f8421
1 changed files with 1 additions and 1 deletions

View File

@ -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}, _}) ->