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

@ -837,7 +837,7 @@ class SitePlugin(object):
class ConfigPlugin(object):
def createArguments(self):
group = self.parser.add_argument_group("Bigfile plugin")
group.add_argument('--autodownload_bigfile_size_limit', help='Also download bigfiles smaller than this limit if help distribute option is checked', default=10, metavar="MB", type=int)
group.add_argument('--bigfile_size_limit', help='Maximum size of downloaded big files', default=False, metavar="MB", type=int)
group.add_argument('--autodownload-bigfile-size-limit', help='Also download bigfiles smaller than this limit if help distribute option is checked', default=10, metavar="MB", type=int)
group.add_argument('--bigfile-size-limit', help='Maximum size of downloaded big files', default=False, metavar="MB", type=int)
return super(ConfigPlugin, self).createArguments()