Annotate

plugins/mod_unknown.lua @ 11870:1d1ed2be3491

util.startup: Understand -h, -? as --help in prosodyctl but ignore prosodyctl -h showing an error was not very helpful, especially since prosodyctl shows its help for any unknown (or none) command.
author Kim Alvefur <zash@zash.se>
date Mon, 25 Oct 2021 15:47:18 +0200
parent 6003:28a90f5fea46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6003
28a90f5fea46 modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 -- Unknown platform stub
28a90f5fea46 modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 module:set_global();
28a90f5fea46 modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
28a90f5fea46 modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 -- TODO Do things that make sense if we don't know about the platform