From d21c393ea8174a9eab03a1ccdf486acad8a72962 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 25 Apr 2020 22:37:09 -0500 Subject: [PATCH] Cleanup: use correct wording in invalid parameter message --- level_3/byte_dump/c/byte_dump.c | 2 +- level_3/status_code/c/status_code.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/level_3/byte_dump/c/byte_dump.c b/level_3/byte_dump/c/byte_dump.c index d4d3332..51b6b53 100644 --- a/level_3/byte_dump/c/byte_dump.c +++ b/level_3/byte_dump/c/byte_dump.c @@ -362,7 +362,7 @@ extern "C" { } } else { - fl_color_print_line(f_standard_error, data->context.error, data->context.reset, "ERROR: you failed to specify an error code."); + fl_color_print_line(f_standard_error, data->context.error, data->context.reset, "ERROR: you failed to specify one or more filenames."); status = f_status_set_error(f_invalid_parameter); } diff --git a/level_3/status_code/c/status_code.c b/level_3/status_code/c/status_code.c index 6bdb57f..12ebc84 100644 --- a/level_3/status_code/c/status_code.c +++ b/level_3/status_code/c/status_code.c @@ -93,7 +93,7 @@ extern "C" { } if (data->remaining.used == 0 && !data->process_pipe) { - fl_color_print_line(f_standard_error, data->context.error, data->context.reset, "ERROR: you failed to specify an error code."); + fl_color_print_line(f_standard_error, data->context.error, data->context.reset, "ERROR: you failed to specify a status code."); status_code_delete_data(data); return f_status_set_error(f_invalid_parameter); -- 1.8.3.1