From 59f95f8421f6ede6e0d677a8bf7c483565b5960a Mon Sep 17 00:00:00 2001 From: terry-xiaoyu <506895667@qq.com> Date: Sat, 23 May 2020 09:41:25 +0800 Subject: [PATCH] Helpful message when no commands available --- src/emqx_ctl.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emqx_ctl.erl b/src/emqx_ctl.erl index cb36340ab..4abe0ebf3 100644 --- a/src/emqx_ctl.erl +++ b/src/emqx_ctl.erl @@ -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}, _}) ->