Rm emqx_ctl set|show cmds

This commit is contained in:
turtled 2018-09-22 16:17:21 +08:00
parent 03f607c1b2
commit 475f2a87c6
1 changed files with 6 additions and 6 deletions

View File

@ -54,14 +54,14 @@ run_command([Cmd | Args]) ->
run_command(list_to_atom(Cmd), Args). run_command(list_to_atom(Cmd), Args).
-spec(run_command(cmd(), [string()]) -> ok | {error, term()}). -spec(run_command(cmd(), [string()]) -> ok | {error, term()}).
run_command(set, []) -> % run_command(set, []) ->
emqx_mgmt_cli_cfg:set_usage(), ok; % emqx_mgmt_cli_cfg:set_usage(), ok;
run_command(set, Args) -> % run_command(set, Args) ->
emqx_mgmt_cli_cfg:run(["config" | Args]), ok; % emqx_mgmt_cli_cfg:run(["config" | Args]), ok;
run_command(show, Args) -> % run_command(show, Args) ->
emqx_mgmt_cli_cfg:run(["config" | Args]), ok; % emqx_mgmt_cli_cfg:run(["config" | Args]), ok;
run_command(help, []) -> run_command(help, []) ->
usage(); usage();