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

@ -159,7 +159,7 @@ class UiRequestPlugin(object):
class ConfigPlugin(object):
def createArguments(self):
group = self.parser.add_argument_group("UiPassword plugin")
group.add_argument('--ui_password', help='Password to access UiServer', default=None, metavar="password")
group.add_argument('--ui-password', help='Password to access UiServer', default=None, metavar="password")
return super(ConfigPlugin, self).createArguments()