Comparison

tools/migration/prosody-migrator.lua @ 12387:05c250fa335a

Spelling: Fix various spelling mistakes (thanks timeless) Words, sometimes I wonder how they even work Maybe I missed something.
author Kim Alvefur <zash@zash.se>
date Mon, 07 Mar 2022 00:13:56 +0100
parent 12168:33e856c65033
child 13142:879a6a33c21b
comparison
equal deleted inserted replaced
12386:2d3080d02960 12387:05c250fa335a
36 36
37 local function usage() 37 local function usage()
38 print("Usage: " .. arg[0] .. " [OPTIONS] FROM_STORE TO_STORE"); 38 print("Usage: " .. arg[0] .. " [OPTIONS] FROM_STORE TO_STORE");
39 print(" --config FILE Specify config file") 39 print(" --config FILE Specify config file")
40 print(" --keep-going Keep going in case of errors"); 40 print(" --keep-going Keep going in case of errors");
41 print(" -v, --verbose Incease log-level"); 41 print(" -v, --verbose Increase log-level");
42 print(""); 42 print("");
43 print("If no stores are specified, 'input' and 'output' are used."); 43 print("If no stores are specified, 'input' and 'output' are used.");
44 end 44 end
45 45
46 local startup = require "util.startup"; 46 local startup = require "util.startup";
151 local function users(store, host) 151 local function users(store, host)
152 if store.users then 152 if store.users then
153 log("debug", "Using store user iterator") 153 log("debug", "Using store user iterator")
154 return store:users(); 154 return store:users();
155 else 155 else
156 log("debug", "Using usermanagre user iterator") 156 log("debug", "Using usermanager user iterator")
157 return um.users(host); 157 return um.users(host);
158 end 158 end
159 end 159 end
160 160
161 local function prepare_config(host, conf) 161 local function prepare_config(host, conf)