Software /
code /
prosody
Changeset
1593:4e44aa858a4c
ejabberdsql2prosody: Improved help message
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 25 Jul 2009 23:37:52 +0500 |
parents | 1592:a7c140fc672b |
children | 1594:6e639a34e503 |
files | tools/ejabberdsql2prosody.lua |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 = {