Merge pull request #3480 from emqx/develop

This commit is contained in:
turtleDeng 2020-05-23 10:13:22 +08:00 committed by GitHub
commit f238414826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -16,8 +16,11 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
make xref make xref
rm -f rebar.lock
make eunit make eunit
rm -f rebar.lock
make ct make ct
rm -f rebar.lock
make cover make cover
- name: Coveralls - name: Coveralls
env: env:

View File

@ -127,7 +127,7 @@ get_commands() ->
help() -> help() ->
case ets:tab2list(?CMD_TAB) of 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 -> Cmds ->
print("Usage: ~s~n", [?MODULE]), print("Usage: ~s~n", [?MODULE]),
lists:foreach(fun({_, {Mod, Cmd}, _}) -> lists:foreach(fun({_, {Mod, Cmd}, _}) ->