From 55bb71e9d466cc9ee5f7fd8eca1101c941cbcb35 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Mon, 13 Sep 2021 18:30:20 -0700 Subject: [PATCH] add streaming ping parser. update streaming exception message --- jc/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jc/cli.py b/jc/cli.py index 3f5d2446..b9506bd5 100644 --- a/jc/cli.py +++ b/jc/cli.py @@ -90,6 +90,7 @@ parsers = [ 'ntpq', 'passwd', 'ping', + 'ping-s', 'pip-list', 'pip-show', 'ps', @@ -665,7 +666,7 @@ def main(): else: streaming_msg = '' if getattr(parser.info, 'streaming', None): - streaming_msg = ' Try the quiet option (-q) to ignore errors.\n' + streaming_msg = ' Use the -q option to ignore streaming parser errors.\n' jc.utils.error_message( f'{parser_name} parser could not parse the input data. Did you use the correct parser?\n'