# HG changeset patch # User Kim Alvefur # Date 1641741321 -3600 # Node ID 59b65cc6312f49e3d439e219fbec1eadf734bc46 # Parent b7ee14ba09c986db7ba64fc5c758bd09a4b0313d migrator: Include --options in usage info diff -r b7ee14ba09c9 -r 59b65cc6312f tools/migration/prosody-migrator.lua --- a/tools/migration/prosody-migrator.lua Sun Jan 09 15:57:59 2022 +0100 +++ b/tools/migration/prosody-migrator.lua Sun Jan 09 16:15:21 2022 +0100 @@ -35,7 +35,10 @@ 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