mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Report available options in lexical order
This commit is contained in:
parent
d8f831de09
commit
ebd50f8a69
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ compile_exprs(Mod, Exprs) ->
|
||||||
|
|
||||||
-spec join_atoms([atom()], binary()) -> binary().
|
-spec join_atoms([atom()], binary()) -> binary().
|
||||||
join_atoms(Atoms, Sep) ->
|
join_atoms(Atoms, Sep) ->
|
||||||
str:join([io_lib:format("~p", [A]) || A <- Atoms], Sep).
|
str:join([io_lib:format("~p", [A]) || A <- lists:sort(Atoms)], Sep).
|
||||||
|
|
||||||
%% @doc Checks if the file is readable and converts its name to binary.
|
%% @doc Checks if the file is readable and converts its name to binary.
|
||||||
%% Fails with `badarg` otherwise. The function is intended for usage
|
%% Fails with `badarg` otherwise. The function is intended for usage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue