aboutsummaryrefslogtreecommitdiffstats
path: root/osmopy
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-18 03:53:06 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-10-18 03:57:27 +0200
commit066a95dec529c3fc5c77e186a0f25ca613e74ff5 (patch)
treebcbbcce746627b5ec2321c57334ab826ceca6dcf /osmopy
parent6562c085c42f3fa669a3c8a71c99cda7a108a3ad (diff)
cosmetic: cmdline arg doc tweaks, commentneels/interact_vty_ctrl
Diffstat (limited to 'osmopy')
-rw-r--r--osmopy/osmo_interact_common.py6
-rwxr-xr-xosmopy/osmo_interact_vty.py1
2 files changed, 4 insertions, 3 deletions
diff --git a/osmopy/osmo_interact_common.py b/osmopy/osmo_interact_common.py
index 6107b64..57f00bf 100644
--- a/osmopy/osmo_interact_common.py
+++ b/osmopy/osmo_interact_common.py
@@ -349,15 +349,15 @@ def common_parser():
' including command line arguments. If omitted, no'
' application is launched.')
parser.add_argument('-p', '--port', dest='port',
- help="Port that the application opens.")
+ help="Port to reach the application at.")
parser.add_argument('-H', '--host', dest='host', default='localhost',
- help="Host that the application opens the port on.")
+ help="Host to reach the application at.")
return parser
def parser_add_verify_args(parser):
parser.add_argument('-u', '--update', dest='update', action='store_true',
help='Do not verify, but OVERWRITE transcripts based on'
- ' the applications current behavior. OVERWRITES TRANSCRIPT'
+ ' the application\'s current behavior. OVERWRITES TRANSCRIPT'
' FILES.')
parser.add_argument('-v', '--verbose', action='store_true',
help='Print commands and application output')
diff --git a/osmopy/osmo_interact_vty.py b/osmopy/osmo_interact_vty.py
index c484932..b57cd8c 100755
--- a/osmopy/osmo_interact_vty.py
+++ b/osmopy/osmo_interact_vty.py
@@ -142,6 +142,7 @@ class InteractVty(Interact):
received_lines = self._command(command_str, timeout)
+ # send escape to cancel the '?' command line
if command_str[-1] == '?':
self._command('\x03', timeout)