summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Gachnang <josh@pcsforeducation.com>2014-03-19 14:29:57 -0700
committerJosh Gachnang <josh@pcsforeducation.com>2014-03-19 14:29:57 -0700
commitb28d69cd319801be7586840b82ec9723f04e7ae4 (patch)
treed920c43b7eed8f7cf00b2ed0b5611a75ff815bbf
parent85234b702c6aee6c3929cdb145d5edc19a90c3bf (diff)
downloadironic-python-agent-b28d69cd319801be7586840b82ec9723f04e7ae4.tar.gz
Generalizing help message for command args
-rw-r--r--teeth_agent/cmd/agent.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/teeth_agent/cmd/agent.py b/teeth_agent/cmd/agent.py
index f6e1a614..8544c58a 100644
--- a/teeth_agent/cmd/agent.py
+++ b/teeth_agent/cmd/agent.py
@@ -31,7 +31,7 @@ def run():
parser.add_argument('--listen-host',
default='0.0.0.0',
type=str,
- help=('The IP address to listen on.'))
+ help='The IP address to listen on.')
parser.add_argument('--listen-port',
default=9999,
@@ -40,16 +40,13 @@ def run():
parser.add_argument('--advertise-host',
default='0.0.0.0',
type=str,
- help=('The port to tell Ironic to reply and send '
- 'commands to. This is different than '
- 'listen-host because Docker will have a '
- 'different internal IP than the host IP that '
- 'Ironic will be communicating with.'))
+ help='The port to tell Ironic to reply and send '
+ 'commands to.')
parser.add_argument('--advertise-port',
default=9999,
type=int,
- help=('The port to tell Ironic to reply and send '
- 'commands to.'))
+ help='The port to tell Ironic to reply and send '
+ 'commands to.')
args = parser.parse_args()
agent.build_agent(api_url=args.api_url,
advertise_host=args.advertise_host,