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

@ -413,7 +413,7 @@ class ConfigPlugin(object):
back = super(ConfigPlugin, self).createArguments()
if self.getCmdlineValue("test") == "benchmark":
self.test_parser.add_argument(
'--num_multipler', help='Benchmark run time multipler',
'--num-multipler', help='Benchmark run time multipler',
default=1.0, type=float, metavar='num'
)
self.test_parser.add_argument(
@ -422,7 +422,7 @@ class ConfigPlugin(object):
)
elif self.getCmdlineValue("test") == "portChecker":
self.test_parser.add_argument(
'--func_name', help='Name of open port checker function',
'--func-name', help='Name of open port checker function',
default=None, metavar='func_name'
)
return back