# HG changeset patch # User Waqas Hussain # Date 1248547072 -18000 # Node ID 4e44aa858a4ce8048710fe7f83e225a1294a84d3 # Parent a7c140fc672b6880f97dd1e16e714ee9ec7c08e2 ejabberdsql2prosody: Improved help message diff -r a7c140fc672b -r 4e44aa858a4c tools/ejabberdsql2prosody.lua --- a/tools/ejabberdsql2prosody.lua Sat Jul 25 23:19:39 2009 +0500 +++ b/tools/ejabberdsql2prosody.lua Sat Jul 25 23:37:52 2009 +0500 @@ -141,14 +141,13 @@ local arg = ...; local help = "/? -? ? /h -h /help -help --help"; if not arg or help:find(arg, 1, true) then - print([[ejabberd SQL db dump importer for Prosody + print([[ejabberd SQL DB dump importer for Prosody Usage: ejabberdsql2prosody.lua filename.txt -The file can be generated from ejabberd using: - sudo ./bin/ejabberdctl dump filename.txt - -Note: The path of ejabberdctl depends on your ejabberd installation, and ejabberd needs to be running for ejabberdctl to work.]]); +The file can be generated using mysqldump: + mysqldump db_name > filename.txt +]]); os.exit(1); end local map = {