Fix command-line argument style (use dashes instead of underscores)

This commit is contained in:
caryoscelus 2024-01-17 21:18:15 +00:00
parent 031dd1946f
commit f3c57cdc32
No known key found for this signature in database
GPG key ID: 254EDDB85B66CB1F
8 changed files with 12 additions and 12 deletions

View file

@ -272,7 +272,7 @@ class UiWebsocketPlugin(object):
class ConfigPlugin(object):
def createArguments(self):
group = self.parser.add_argument_group("Multiuser plugin")
group.add_argument('--multiuser_local', help="Enable unsafe Ui functions and write users to disk", action='store_true')
group.add_argument('--multiuser_no_new_sites', help="Denies adding new sites by normal users", action='store_true')
group.add_argument('--multiuser-local', help="Enable unsafe Ui functions and write users to disk", action='store_true')
group.add_argument('--multiuser-no-new-sites', help="Denies adding new sites by normal users", action='store_true')
return super(ConfigPlugin, self).createArguments()