From 83440ccb55d0db15b112b8b7d7352493ff516112 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 13 May 2021 08:02:38 -0700 Subject: [PATCH] error message capitalization --- jc/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jc/cli.py b/jc/cli.py index 3504a624..d315ebb4 100644 --- a/jc/cli.py +++ b/jc/cli.py @@ -213,7 +213,7 @@ def set_env_colors(env_colors=None): # if there is an issue with the env variable, just set all colors to default and move on if input_error: - jc.utils.warning_message('could not parse JC_COLORS environment variable') + jc.utils.warning_message('Could not parse JC_COLORS environment variable') color_list = ['default', 'default', 'default', 'default'] # Try the color set in the JC_COLORS env variable first. If it is set to default, then fall back to default colors @@ -562,7 +562,7 @@ def main(): sys.exit(combined_exit_code(magic_exit_code, JC_ERROR_EXIT)) elif run_command is not None: - jc.utils.error_message(f'parser not found for "{run_command_str}". Use "jc -h" for help.') + jc.utils.error_message(f'Parser not found for "{run_command_str}". Use "jc -h" for help.') sys.exit(combined_exit_code(magic_exit_code, JC_ERROR_EXIT)) # find the correct parser