aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-07-25 23:37:52 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-07-25 23:37:52 +0500
commite999fe79842fecbaa12eb7f68bad3da64f2bc7c9 (patch)
tree3b7f95cfda9b6dc2dec93256d1b02629afdcf4f4
parente13e4b98ef1c93a89992050e6b05c8edc94fc6da (diff)
downloadprosody-e999fe79842fecbaa12eb7f68bad3da64f2bc7c9.tar.gz
prosody-e999fe79842fecbaa12eb7f68bad3da64f2bc7c9.zip
ejabberdsql2prosody: Improved help message
-rw-r--r--tools/ejabberdsql2prosody.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/ejabberdsql2prosody.lua b/tools/ejabberdsql2prosody.lua
index 4ba43c2c..ec8c8f78 100644
--- a/tools/ejabberdsql2prosody.lua
+++ b/tools/ejabberdsql2prosody.lua
@@ -141,14 +141,13 @@ end
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 = {