diff options
author | Kim Alvefur <zash@zash.se> | 2022-01-12 10:23:13 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-01-12 10:23:13 +0100 |
commit | 97f85e98f2bbfc55c3786e8bdef33afc4afa08a9 (patch) | |
tree | 7ec3c049f0b3e9689c429031e3737bed135b7e05 /.editorconfig | |
parent | 21740a1382cfd83686051df3cfcaed48e4ef79d5 (diff) | |
download | prosody-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 '.editorconfig')
0 files changed, 0 insertions, 0 deletions