Changeset

12163:59b65cc6312f

migrator: Include --options in usage info
author Kim Alvefur <zash@zash.se>
date Sun, 09 Jan 2022 16:15:21 +0100
parents 12162:b7ee14ba09c9
children 12164:85f03b29ec72
files tools/migration/prosody-migrator.lua
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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