migrator: Include --options in usage info
authorKim Alvefur <zash@zash.se>
Sun, 09 Jan 2022 16:15:21 +0100
changeset 12167 59b65cc6312f
parent 12166 b7ee14ba09c9
child 12168 85f03b29ec72
migrator: Include --options in usage info
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