mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix values put in args_examples
This commit is contained in:
parent
0ed23980a6
commit
b013c29c7e
@ -138,7 +138,7 @@ get_commands_spec() ->
|
|||||||
desc = "Get the current loglevel",
|
desc = "Get the current loglevel",
|
||||||
module = ejabberd_logger, function = get,
|
module = ejabberd_logger, function = get,
|
||||||
result_desc = "Tuple with the log level number, its keyword and description",
|
result_desc = "Tuple with the log level number, its keyword and description",
|
||||||
result_example = {4, <<"info">>, <<"Info">>},
|
result_example = {4, info, <<"Info">>},
|
||||||
args = [],
|
args = [],
|
||||||
result = {leveltuple, {tuple, [{levelnumber, integer},
|
result = {leveltuple, {tuple, [{levelnumber, integer},
|
||||||
{levelatom, atom},
|
{levelatom, atom},
|
||||||
|
@ -80,7 +80,7 @@ get_commands_spec() ->
|
|||||||
module = ?MODULE, function = oauth_issue_token,
|
module = ?MODULE, function = oauth_issue_token,
|
||||||
args = [{jid, string},{ttl, integer}, {scopes, string}],
|
args = [{jid, string},{ttl, integer}, {scopes, string}],
|
||||||
policy = restricted,
|
policy = restricted,
|
||||||
args_example = ["user@server.com", "connected_users_number;muc_online_rooms"],
|
args_example = ["user@server.com", 3600, "connected_users_number;muc_online_rooms"],
|
||||||
args_desc = ["Jid for which issue token",
|
args_desc = ["Jid for which issue token",
|
||||||
"Time to live of generated token in seconds",
|
"Time to live of generated token in seconds",
|
||||||
"List of scopes to allow, separated by ';'"],
|
"List of scopes to allow, separated by ';'"],
|
||||||
|
Loading…
Reference in New Issue
Block a user