Fix command-line argument style (use dashes instead of underscores)
This commit is contained in:
parent
031dd1946f
commit
f3c57cdc32
8 changed files with 12 additions and 12 deletions
|
@ -142,6 +142,6 @@ class FileServerPlugin(object):
|
|||
class ConfigPlugin(object):
|
||||
def createArguments(self):
|
||||
group = self.parser.add_argument_group("AnnounceLocal plugin")
|
||||
group.add_argument('--broadcast_port', help='UDP broadcasting port for local peer discovery', default=1544, type=int, metavar='port')
|
||||
group.add_argument('--broadcast-port', help='UDP broadcasting port for local peer discovery', default=1544, type=int, metavar='port')
|
||||
|
||||
return super(ConfigPlugin, self).createArguments()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue