From 066a95dec529c3fc5c77e186a0f25ca613e74ff5 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 18 Oct 2017 03:53:06 +0200 Subject: cosmetic: cmdline arg doc tweaks, comment Change-Id: I60dc059879dfe15cd3415ce1ed068ded28ff084e --- osmopy/osmo_interact_common.py | 6 +++--- osmopy/osmo_interact_vty.py | 1 + 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) -- cgit v1.2.3