25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

Fix syntax of some commands' result_example

This commit is contained in:
Badlop 2022-04-13 17:23:29 +02:00
parent 19019bbe32
commit d8642fc7c2
2 changed files with 4 additions and 4 deletions

View File

@ -340,7 +340,7 @@ get_commands_spec() ->
args = [{host, binary}],
result = {status, string},
result_desc = "Status test",
result_example = {"Operation in progress, delete 5000 messages"}},
result_example = "Operation in progress, delete 5000 messages"},
#ejabberd_commands{name = abort_delete_old_messages, tags = [purge],
desc = "Abort currently running delete old offline messages operation",
module = ?MODULE, function = delete_old_messages_abort,
@ -349,7 +349,7 @@ get_commands_spec() ->
args = [{host, binary}],
result = {status, string},
result_desc = "Status text",
result_example = {"Operation aborted"}},
result_example = "Operation aborted"},
#ejabberd_commands{name = export2sql, tags = [mnesia],
desc = "Export virtual host information from Mnesia tables to SQL file",

View File

@ -1453,7 +1453,7 @@ get_commands_spec() ->
args = [{host, binary}],
result = {status, string},
result_desc = "Status test",
result_example = {"Operation in progress, delete 5000 messages"}},
result_example = "Operation in progress, delete 5000 messages"},
#ejabberd_commands{name = abort_delete_old_mam_messages, tags = [purge],
desc = "Abort currently running delete old MAM messages operation",
module = ?MODULE, function = delete_old_messages_abort,
@ -1462,7 +1462,7 @@ get_commands_spec() ->
args = [{host, binary}],
result = {status, string},
result_desc = "Status text",
result_example = {"Operation aborted"}},
result_example = "Operation aborted"},
#ejabberd_commands{name = remove_mam_for_user, tags = [mam],
desc = "Remove mam archive for user",
module = ?MODULE, function = remove_mam_for_user,