Make IPv4 default.

This commit is contained in:
Darko Poljak 2016-10-30 20:37:24 +01:00
commit 63dc9632d2
2 changed files with 14 additions and 15 deletions

View file

@ -180,8 +180,9 @@ def commandline():
parser['beta'],
parser['config_main']])
parser['trigger'].add_argument(
'-4', '--ipv4', default=False,
help=('Listen only to IPv4 (instead of IPv4 and IPv6)'), action='store_true')
'-6', '--ipv6', default=False,
help=('Listen to both IPv4 and IPv6 (instead of only IPv4)'),
action='store_true')
parser['trigger'].add_argument(
'-H', '--http-port', action='store', default=3000, required=False,
help=('Create trigger listener via http on specified port'))