aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_carbons.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-01-12 10:23:13 +0100
committerKim Alvefur <zash@zash.se>2022-01-12 10:23:13 +0100
commit97f85e98f2bbfc55c3786e8bdef33afc4afa08a9 (patch)
tree7ec3c049f0b3e9689c429031e3737bed135b7e05 /plugins/mod_carbons.lua
parent21740a1382cfd83686051df3cfcaed48e4ef79d5 (diff)
downloadprosody-97f85e98f2bbfc55c3786e8bdef33afc4afa08a9.tar.gz
prosody-97f85e98f2bbfc55c3786e8bdef33afc4afa08a9.zip
mod_invites: Refactor argument handling using util.argparse
This makes it so that --admin and --role are no longer mutually exclusive, they the former is simply treated as another --role. This was likely a leftover from when only a single role was possible. It does however become unclear which should be the primary, since the order is not preserved by argparse. Bonus: Loading of modules is avoided with only the --help is shown.
Diffstat (limited to 'plugins/mod_carbons.lua')
0 files changed, 0 insertions, 0 deletions