re-order listen-host and listen-port arguments
This commit is contained in:
parent
14c950ff62
commit
7df84a95ec
teeth_agent/cmd
@ -28,11 +28,6 @@ def run():
|
|||||||
required=True,
|
required=True,
|
||||||
help='URL of the Teeth agent API')
|
help='URL of the Teeth agent API')
|
||||||
|
|
||||||
parser.add_argument('--listen-port',
|
|
||||||
default=9999,
|
|
||||||
type=int,
|
|
||||||
help='The port to listen on')
|
|
||||||
|
|
||||||
parser.add_argument('--listen-host',
|
parser.add_argument('--listen-host',
|
||||||
type=str,
|
type=str,
|
||||||
help=('The IP address to listen on. Leave this blank'
|
help=('The IP address to listen on. Leave this blank'
|
||||||
@ -41,6 +36,11 @@ def run():
|
|||||||
' auto-detected by establishing a connection to'
|
' auto-detected by establishing a connection to'
|
||||||
' the agent API.'))
|
' the agent API.'))
|
||||||
|
|
||||||
|
parser.add_argument('--listen-port',
|
||||||
|
default=9999,
|
||||||
|
type=int,
|
||||||
|
help='The port to listen on')
|
||||||
|
|
||||||
parser.add_argument('--advertise-port',
|
parser.add_argument('--advertise-port',
|
||||||
type=int,
|
type=int,
|
||||||
help=('The port to advertise. Defaults to listen-port.'
|
help=('The port to advertise. Defaults to listen-port.'
|
||||||
|
@ -28,11 +28,6 @@ def run():
|
|||||||
required=True,
|
required=True,
|
||||||
help='URL of the Teeth agent API')
|
help='URL of the Teeth agent API')
|
||||||
|
|
||||||
parser.add_argument('--listen-port',
|
|
||||||
default=9999,
|
|
||||||
type=int,
|
|
||||||
help='The port to listen on')
|
|
||||||
|
|
||||||
parser.add_argument('--listen-host',
|
parser.add_argument('--listen-host',
|
||||||
type=str,
|
type=str,
|
||||||
help=('The IP address to listen on. Leave this blank'
|
help=('The IP address to listen on. Leave this blank'
|
||||||
@ -41,6 +36,11 @@ def run():
|
|||||||
' auto-detected by establishing a connection to'
|
' auto-detected by establishing a connection to'
|
||||||
' the agent API.'))
|
' the agent API.'))
|
||||||
|
|
||||||
|
parser.add_argument('--listen-port',
|
||||||
|
default=9999,
|
||||||
|
type=int,
|
||||||
|
help='The port to listen on')
|
||||||
|
|
||||||
parser.add_argument('--advertise-port',
|
parser.add_argument('--advertise-port',
|
||||||
type=int,
|
type=int,
|
||||||
help=('The port to advertise. Defaults to listen-port.'
|
help=('The port to advertise. Defaults to listen-port.'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user