From d741f6f5f25db4819b17031c1b28183c862caee0 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 14 May 2021 13:43:13 +0200 Subject: [PATCH] Update documentation references for import_prosody and export2sql --- src/ejabberd_admin.erl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ejabberd_admin.erl b/src/ejabberd_admin.erl index 804456e1c..2eeb97b99 100644 --- a/src/ejabberd_admin.erl +++ b/src/ejabberd_admin.erl @@ -282,8 +282,8 @@ get_commands_spec() -> args = [{host, binary}], result = {res, rescode}}, #ejabberd_commands{name = import_prosody, tags = [mnesia, sql], desc = "Import data from Prosody", - longdesc = "Note: this method requires ejabberd compiled with optional tools support " - "and package must provide optional luerl dependency.", + longdesc = "Note: this requires ejabberd compiled with --enable-lua " + "and include the optional 'luerl' library.", module = prosody2ejabberd, function = from_dir, args_desc = ["Full path to the Prosody data directory"], args_example = ["/var/lib/prosody/datadump/"], @@ -318,7 +318,9 @@ get_commands_spec() -> #ejabberd_commands{name = export2sql, tags = [mnesia], desc = "Export virtual host information from Mnesia tables to SQL file", longdesc = "Configure the modules to use SQL, then call this command. " - "After correct export, check 'delete_mnesia' too.", + "After correctly exported the database of a vhost, " + "you may want to delete from mnesia with " + "the http://./#delete-mnesia[delete_mnesia] command.", module = ejd2sql, function = export, args_desc = ["Vhost", "Full path to the destination SQL file"], args_example = ["example.com", "/var/lib/ejabberd/example.com.sql"],