]> Kevux Git Server - fll/commitdiff
Cleanup: use correct wording in invalid parameter message
authorKevin Day <thekevinday@gmail.com>
Sun, 26 Apr 2020 03:37:09 +0000 (22:37 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 26 Apr 2020 03:37:09 +0000 (22:37 -0500)
level_3/byte_dump/c/byte_dump.c
level_3/status_code/c/status_code.c

index d4d33322e3d682a4417b08f91c8e44304aa0b393..51b6b5378aefc55d0957e2425a65dcb29d2501c9 100644 (file)
@@ -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);
     }
 
index 6bdb57ffba3c35524aa2437273409fd404138a1c..12ebc84d8a8196d89183c8452879d4b091fbde66 100644 (file)
@@ -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);