rewrite done
This commit is contained in:
@@ -10,14 +10,15 @@ def parseArgs():
|
||||
help = ('If specified, use the RFC1918 IP address assigned to this machine instead of the WAN '
|
||||
'IP (necessary if this machine is behind NAT)'))
|
||||
args.add_argument('-c', '--config',
|
||||
dest = 'conf',
|
||||
default = '~/.config/he_tunnelbroker.ini',
|
||||
help = ('The path to the config. '
|
||||
'Default: ~/.config/he_tunnelbroker.ini'))
|
||||
dest = 'conf_xml',
|
||||
default = '~/.config/he_tunnelbroker.xml',
|
||||
help = ('The path to the config. See example.tunnelbroker.xml'
|
||||
'Default: ~/.config/he_tunnelbroker.xml'))
|
||||
args.add_argument('-t', '--tunnel-id',
|
||||
dest = 'tun_id',
|
||||
type = int,
|
||||
help = ('The tunnel profile ID/name to use in -c/--config. '
|
||||
'Default is to use the first one found.'))
|
||||
'Default is to use the first one found'))
|
||||
args.add_argument('-u', '--no-update',
|
||||
dest = 'update',
|
||||
action = 'store_false',
|
||||
|
||||
Reference in New Issue
Block a user