src/eric7/eric7_server.py

branch
server
changeset 10597
fbe93720ee9f
parent 10531
3308e8349e4c
child 10719
34901362f648
equal deleted inserted replaced
10596:ea35c92a3c7c 10597:fbe93720ee9f
38 parser.add_argument( 38 parser.add_argument(
39 "-p", 39 "-p",
40 "--port", 40 "--port",
41 type=int, 41 type=int,
42 default=42024, 42 default=42024,
43 help="Listen on the given port for connections from an eric IDE." 43 help="Listen on the given port for connections from an eric IDE.",
44 ) 44 )
45 parser.add_argument( 45 parser.add_argument(
46 "-6", 46 "-6",
47 "--with-ipv6", 47 "--with-ipv6",
48 action="store_true", 48 action="store_true",
49 help="Listen on IPv6 interfaces as well if the system supports the creation" 49 help="Listen on IPv6 interfaces as well if the system supports the creation"
50 "of TCP sockets which can handle both IPv4 and IPv6. {0}".format( 50 "of TCP sockets which can handle both IPv4 and IPv6. {0}".format(
51 "This system supports this feature." 51 "This system supports this feature."
52 if socket.has_dualstack_ipv6() 52 if socket.has_dualstack_ipv6()
53 else "This system does not support this feature. Option will be ignored." 53 else "This system does not support this feature. Option will be ignored."
54 ) 54 ),
55 ) 55 )
56 parser.add_argument( 56 parser.add_argument(
57 "-V", 57 "-V",
58 "--version", 58 "--version",
59 action="version", 59 action="version",

eric ide

mercurial