From 25a9fd3fdd3b9889469024f0413cd64323661fa3 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 9 Jan 2022 16:15:21 +0100 Subject: migrator: Include --options in usage info --- tools/migration/prosody-migrator.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3