diff options
author | Kim Alvefur <zash@zash.se> | 2022-01-09 16:15:21 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-01-09 16:15:21 +0100 |
commit | 25a9fd3fdd3b9889469024f0413cd64323661fa3 (patch) | |
tree | 8d185ed9d25a4ccb18c202672df0e71912a3b5df /tools | |
parent | bf60d226b875f77381a56b1385541f4866555370 (diff) | |
download | prosody-25a9fd3fdd3b9889469024f0413cd64323661fa3.tar.gz prosody-25a9fd3fdd3b9889469024f0413cd64323661fa3.zip |
migrator: Include --options in usage info
Diffstat (limited to 'tools')
-rw-r--r-- | tools/migration/prosody-migrator.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/migration/prosody-migrator.lua b/tools/migration/prosody-migrator.lua index f5631bdf..905f92fb 100644 --- a/tools/migration/prosody-migrator.lua +++ b/tools/migration/prosody-migrator.lua @@ -35,7 +35,10 @@ end local default_config = (CFG_CONFIGDIR or ".").."/migrator.cfg.lua"; local function usage() - print("Usage: " .. arg[0] .. " FROM_STORE TO_STORE"); + print("Usage: " .. arg[0] .. " [OPTIONS] FROM_STORE TO_STORE"); + print(" --config FILE Specify config file") + print(" -v, --verbose Incease log-level"); + print(""); print("If no stores are specified, 'input' and 'output' are used."); end |