re-order listen-host and listen-port arguments

This commit is contained in:
Russell Haering 2014-01-13 21:06:06 -08:00
parent 14c950ff62
commit 7df84a95ec
2 changed files with 10 additions and 10 deletions
teeth_agent/cmd

@ -28,11 +28,6 @@ def run():
required=True,
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',
type=str,
help=('The IP address to listen on. Leave this blank'
@ -41,6 +36,11 @@ def run():
' auto-detected by establishing a connection to'
' the agent API.'))
parser.add_argument('--listen-port',
default=9999,
type=int,
help='The port to listen on')
parser.add_argument('--advertise-port',
type=int,
help=('The port to advertise. Defaults to listen-port.'

@ -28,11 +28,6 @@ def run():
required=True,
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',
type=str,
help=('The IP address to listen on. Leave this blank'
@ -41,6 +36,11 @@ def run():
' auto-detected by establishing a connection to'
' the agent API.'))
parser.add_argument('--listen-port',
default=9999,
type=int,
help='The port to listen on')
parser.add_argument('--advertise-port',
type=int,
help=('The port to advertise. Defaults to listen-port.'