From 475f2a87c64aa9d931403cfcaddf9031e3833353 Mon Sep 17 00:00:00 2001 From: turtled Date: Sat, 22 Sep 2018 16:17:21 +0800 Subject: [PATCH] Rm emqx_ctl set|show cmds --- src/emqx_ctl.erl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/emqx_ctl.erl b/src/emqx_ctl.erl index c16bd23cb..17166a014 100644 --- a/src/emqx_ctl.erl +++ b/src/emqx_ctl.erl @@ -54,14 +54,14 @@ run_command([Cmd | Args]) -> run_command(list_to_atom(Cmd), Args). -spec(run_command(cmd(), [string()]) -> ok | {error, term()}). -run_command(set, []) -> - emqx_mgmt_cli_cfg:set_usage(), ok; +% run_command(set, []) -> +% emqx_mgmt_cli_cfg:set_usage(), ok; -run_command(set, Args) -> - emqx_mgmt_cli_cfg:run(["config" | Args]), ok; +% run_command(set, Args) -> +% emqx_mgmt_cli_cfg:run(["config" | Args]), ok; -run_command(show, Args) -> - emqx_mgmt_cli_cfg:run(["config" | Args]), ok; +% run_command(show, Args) -> +% emqx_mgmt_cli_cfg:run(["config" | Args]), ok; run_command(help, []) -> usage();