From 7f409b7082aa9525cc9280e3c5c92bc82089cf14 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 24 Feb 2022 20:31:09 -0800 Subject: [PATCH] enhance ParseError cli message --- jc/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jc/cli.py b/jc/cli.py index f1fd5660..e4b15516 100644 --- a/jc/cli.py +++ b/jc/cli.py @@ -539,7 +539,7 @@ def main(): utils.error_message([ f'Parser issue with {parser_name}:', f'{e.__class__.__name__}: {e}', 'If this is the correct parser, try setting the locale to C (LANG=C).', - 'For details use the -d or -dd option. Use "jc -h" for help.' + f'For details use the -d or -dd option. Use "jc -h --{parser_name}" for help.' ]) sys.exit(combined_exit_code(magic_exit_code, JC_ERROR_EXIT))