]> Kevux Git Server - fll/commitdiff
Update: Add support for +E/++error, change '+q' to '+Q', and fix some past tense...
authorKevin Day <thekevinday@gmail.com>
Sun, 17 Jul 2022 03:09:09 +0000 (22:09 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 17 Jul 2022 03:09:09 +0000 (22:09 -0500)
Selecting a quiet mode that still prints errors is very helpful in embedded fakefiles inside of controller rules.

I noticed that almost all of the verbosity related parameters are upper case except for the "quiet" parameter.
Change the "quiet" parameter from "+q" to "+Q".

I noticed some words in the past tense.
The goal is to use present tense.
Using past tense a habit I hope to get out of when programming.

64 files changed:
level_0/f_console/c/console/common.c
level_0/f_console/c/console/common.h
level_3/byte_dump/c/byte_dump.c
level_3/byte_dump/c/common.h
level_3/control/c/common.h
level_3/control/c/control.c
level_3/controller/c/common.h
level_3/controller/c/controller.c
level_3/controller/c/entry/private-entry.c
level_3/controller/c/rule/private-rule.c
level_3/fake/c/common.h
level_3/fake/c/fake.c
level_3/fake/c/private-build-library.c
level_3/fake/c/private-build-object.c
level_3/fake/c/private-build-objects.c
level_3/fake/c/private-build-program.c
level_3/fake/c/private-build-skeleton.c
level_3/fake/c/private-build.c
level_3/fake/c/private-clean.c
level_3/fake/c/private-make-load_parameters.c
level_3/fake/c/private-make-operate.c
level_3/fake/c/private-make.c
level_3/fake/c/private-skeleton.c
level_3/firewall/c/common.h
level_3/firewall/c/firewall.c
level_3/fss_basic_list_read/c/common.h
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_write/c/common.h
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/private-write.c
level_3/fss_basic_read/c/common.h
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_write/c/common.h
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/c/private-write.c
level_3/fss_embedded_list_read/c/common.h
level_3/fss_embedded_list_read/c/fss_embedded_list_read.c
level_3/fss_embedded_list_write/c/common.h
level_3/fss_embedded_list_write/c/fss_embedded_list_write.c
level_3/fss_extended_list_read/c/common.h
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_write/c/common.h
level_3/fss_extended_list_write/c/fss_extended_list_write.c
level_3/fss_extended_list_write/c/private-write.c
level_3/fss_extended_read/c/common.h
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_write/c/common.h
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_identify/c/common.h
level_3/fss_identify/c/fss_identify.c
level_3/fss_payload_read/c/common.h
level_3/fss_payload_read/c/fss_payload_read.c
level_3/fss_payload_write/c/common.h
level_3/fss_payload_write/c/fss_payload_write.c
level_3/fss_status_code/c/common.h
level_3/fss_status_code/c/fss_status_code.c
level_3/iki_read/c/common.h
level_3/iki_read/c/iki_read.c
level_3/iki_write/c/common.h
level_3/iki_write/c/iki_write.c
level_3/status_code/c/common.h
level_3/status_code/c/status_code.c
level_3/utf8/c/common.h
level_3/utf8/c/utf8.c

index 91fda255339c2c0d4534be4a46b8d0d0599986e0..ea6a9e1f1f9a917a723a19f3790272b7a3507166 100644 (file)
@@ -5,29 +5,31 @@ extern "C" {
 #endif
 
 #ifndef _di_f_console_standard_s_
-  const f_string_static_t f_console_standard_short_dark_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_dark_s, 0, F_console_standard_short_dark_s_length);
-  const f_string_static_t f_console_standard_short_debug_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_debug_s, 0, F_console_standard_short_debug_s_length);
-  const f_string_static_t f_console_standard_short_help_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_help_s, 0, F_console_standard_short_help_s_length);
-  const f_string_static_t f_console_standard_short_light_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_light_s, 0, F_console_standard_short_light_s_length);
-  const f_string_static_t f_console_standard_short_no_color_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_no_color_s, 0, F_console_standard_short_no_color_s_length);
-  const f_string_static_t f_console_standard_short_normal_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_normal_s, 0, F_console_standard_short_normal_s_length);
-  const f_string_static_t f_console_standard_short_quiet_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_quiet_s, 0, F_console_standard_short_quiet_s_length);
-  const f_string_static_t f_console_standard_short_status_in_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_status_in_s, 0, F_console_standard_short_status_in_s_length);
-  const f_string_static_t f_console_standard_short_status_out_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_status_out_s, 0, F_console_standard_short_status_out_s_length);
-  const f_string_static_t f_console_standard_short_verbose_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_verbose_s, 0, F_console_standard_short_verbose_s_length);
-  const f_string_static_t f_console_standard_short_version_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_short_version_s, 0, F_console_standard_short_version_s_length);
-
-  const f_string_static_t f_console_standard_long_dark_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_dark_s, 0, F_console_standard_long_dark_s_length);
-  const f_string_static_t f_console_standard_long_debug_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_debug_s, 0, F_console_standard_long_debug_s_length);
-  const f_string_static_t f_console_standard_long_help_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_help_s, 0, F_console_standard_long_help_s_length);
-  const f_string_static_t f_console_standard_long_light_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_light_s, 0, F_console_standard_long_light_s_length);
-  const f_string_static_t f_console_standard_long_no_color_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_no_color_s, 0, F_console_standard_long_no_color_s_length);
-  const f_string_static_t f_console_standard_long_normal_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_normal_s, 0, F_console_standard_long_normal_s_length);
-  const f_string_static_t f_console_standard_long_quiet_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_quiet_s, 0, F_console_standard_long_quiet_s_length);
-  const f_string_static_t f_console_standard_long_status_in_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_status_in_s, 0, F_console_standard_long_status_in_s_length);
-  const f_string_static_t f_console_standard_long_status_out_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_status_out_s, 0, F_console_standard_long_status_out_s_length);
-  const f_string_static_t f_console_standard_long_verbose_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_verbose_s, 0, F_console_standard_long_verbose_s_length);
-  const f_string_static_t f_console_standard_long_version_s = macro_f_string_static_t_initialize((f_string_t)F_console_standard_long_version_s, 0, F_console_standard_long_version_s_length);
+  const f_string_static_t f_console_standard_short_dark_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_dark_s, 0, F_console_standard_short_dark_s_length);
+  const f_string_static_t f_console_standard_short_debug_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_debug_s, 0, F_console_standard_short_debug_s_length);
+  const f_string_static_t f_console_standard_short_error_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_error_s, 0, F_console_standard_short_error_s_length);
+  const f_string_static_t f_console_standard_short_help_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_help_s, 0, F_console_standard_short_help_s_length);
+  const f_string_static_t f_console_standard_short_light_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_light_s, 0, F_console_standard_short_light_s_length);
+  const f_string_static_t f_console_standard_short_no_color_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_no_color_s, 0, F_console_standard_short_no_color_s_length);
+  const f_string_static_t f_console_standard_short_normal_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_normal_s, 0, F_console_standard_short_normal_s_length);
+  const f_string_static_t f_console_standard_short_quiet_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_quiet_s, 0, F_console_standard_short_quiet_s_length);
+  const f_string_static_t f_console_standard_short_status_in_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_status_in_s, 0, F_console_standard_short_status_in_s_length);
+  const f_string_static_t f_console_standard_short_status_out_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_status_out_s, 0, F_console_standard_short_status_out_s_length);
+  const f_string_static_t f_console_standard_short_verbose_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_verbose_s, 0, F_console_standard_short_verbose_s_length);
+  const f_string_static_t f_console_standard_short_version_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_short_version_s, 0, F_console_standard_short_version_s_length);
+
+  const f_string_static_t f_console_standard_long_dark_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_dark_s, 0, F_console_standard_long_dark_s_length);
+  const f_string_static_t f_console_standard_long_debug_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_debug_s, 0, F_console_standard_long_debug_s_length);
+  const f_string_static_t f_console_standard_long_error_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_error_s, 0, F_console_standard_long_error_s_length);
+  const f_string_static_t f_console_standard_long_help_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_help_s, 0, F_console_standard_long_help_s_length);
+  const f_string_static_t f_console_standard_long_light_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_light_s, 0, F_console_standard_long_light_s_length);
+  const f_string_static_t f_console_standard_long_no_color_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_no_color_s, 0, F_console_standard_long_no_color_s_length);
+  const f_string_static_t f_console_standard_long_normal_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_normal_s, 0, F_console_standard_long_normal_s_length);
+  const f_string_static_t f_console_standard_long_quiet_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_quiet_s, 0, F_console_standard_long_quiet_s_length);
+  const f_string_static_t f_console_standard_long_status_in_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_status_in_s, 0, F_console_standard_long_status_in_s_length);
+  const f_string_static_t f_console_standard_long_status_out_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_status_out_s, 0, F_console_standard_long_status_out_s_length);
+  const f_string_static_t f_console_standard_long_verbose_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_verbose_s, 0, F_console_standard_long_verbose_s_length);
+  const f_string_static_t f_console_standard_long_version_s = macro_f_string_static_t_initialize((f_string_t) F_console_standard_long_version_s, 0, F_console_standard_long_version_s_length);
 #endif // _di_f_console_standard_s_
 
 #ifndef _di_f_console_symbol_s_
index 83c995599a1d4fd915313119c52a7c19b4fc69d4..c7100d8812f08c74ff27c6c04dc1af81b9727f40 100644 (file)
@@ -86,6 +86,7 @@ extern "C" {
  *
  * The following options are subjective in interpretation of the verbosity but are expected to be follow the general interpretation:
  *   - debug:   Enable debugging, which will likely increase output verbosity.
+ *   - error:   Similar to quiet, except that error messages are printed (this is less verbose than "normal").
  *   - normal:  Use normal printing (don't use debug/quiet/verbose).
  *   - quiet:   Decrease verbosity, print less, in some use cases this could mean printing nothing.
  *   - verbose: Increase verbosity, print more, in some use cases this could mean printing just about everything.
@@ -109,11 +110,12 @@ extern "C" {
 #ifndef _di_f_console_standard_s_
   #define F_console_standard_short_dark_s       "d"
   #define F_console_standard_short_debug_s      "D"
+  #define F_console_standard_short_error_s      "E"
   #define F_console_standard_short_help_s       "h"
   #define F_console_standard_short_light_s      "l"
   #define F_console_standard_short_no_color_s   "n"
   #define F_console_standard_short_normal_s     "N"
-  #define F_console_standard_short_quiet_s      "q"
+  #define F_console_standard_short_quiet_s      "Q"
   #define F_console_standard_short_status_in_s  "s"
   #define F_console_standard_short_status_out_s "S"
   #define F_console_standard_short_verbose_s    "V"
@@ -121,6 +123,7 @@ extern "C" {
 
   #define F_console_standard_short_dark_s_length       1
   #define F_console_standard_short_debug_s_length      1
+  #define F_console_standard_short_error_s_length      1
   #define F_console_standard_short_help_s_length       1
   #define F_console_standard_short_light_s_length      1
   #define F_console_standard_short_no_color_s_length   1
@@ -133,6 +136,7 @@ extern "C" {
 
   #define F_console_standard_long_dark_s       "dark"
   #define F_console_standard_long_debug_s      "debug"
+  #define F_console_standard_long_error_s      "error"
   #define F_console_standard_long_help_s       "help"
   #define F_console_standard_long_light_s      "light"
   #define F_console_standard_long_no_color_s   "no_color"
@@ -145,6 +149,7 @@ extern "C" {
 
   #define F_console_standard_long_dark_s_length       4
   #define F_console_standard_long_debug_s_length      5
+  #define F_console_standard_long_error_s_length      5
   #define F_console_standard_long_help_s_length       4
   #define F_console_standard_long_light_s_length      5
   #define F_console_standard_long_no_color_s_length   8
@@ -157,6 +162,7 @@ extern "C" {
 
   extern const f_string_static_t f_console_standard_short_dark_s;
   extern const f_string_static_t f_console_standard_short_debug_s;
+  extern const f_string_static_t f_console_standard_short_error_s;
   extern const f_string_static_t f_console_standard_short_help_s;
   extern const f_string_static_t f_console_standard_short_light_s;
   extern const f_string_static_t f_console_standard_short_no_color_s;
@@ -169,6 +175,7 @@ extern "C" {
 
   extern const f_string_static_t f_console_standard_long_dark_s;
   extern const f_string_static_t f_console_standard_long_debug_s;
+  extern const f_string_static_t f_console_standard_long_error_s;
   extern const f_string_static_t f_console_standard_long_help_s;
   extern const f_string_static_t f_console_standard_long_light_s;
   extern const f_string_static_t f_console_standard_long_no_color_s;
@@ -228,6 +235,7 @@ extern "C" {
  *
  * f_console_verbosity_*:
  *   - quiet:   Verbosity is set to quiet.
+ *   - error:   Verbosity is set to error.
  *   - normal:  Verbosity is set to normal.
  *   - verbose: Verbosity is set to verbose.
  *   - debug:   Verbosity is set to debug.
@@ -235,6 +243,7 @@ extern "C" {
 #ifndef _di_f_console_verbosity_
   enum {
     f_console_verbosity_quiet_e = 1,
+    f_console_verbosity_error_e,
     f_console_verbosity_normal_e,
     f_console_verbosity_verbose_e,
     f_console_verbosity_debug_e,
index d7f92576fbd422b7fc622e10a0e3cb3077185e86..d67a8d5efb86c019e0e32815aa06ed7a13cde30f 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -114,9 +115,9 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { byte_dump_parameter_verbosity_quiet_e, byte_dump_parameter_verbosity_normal_e, byte_dump_parameter_verbosity_verbose_e, byte_dump_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { byte_dump_parameter_verbosity_quiet_e, byte_dump_parameter_verbosity_error_e, byte_dump_parameter_verbosity_normal_e, byte_dump_parameter_verbosity_verbose_e, byte_dump_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
 
@@ -131,6 +132,11 @@ extern "C" {
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == byte_dump_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == byte_dump_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index cb323f95f3bac18de7cf9a3ea8b72fba4bf858fa..f3125d33e108a6cd248102fa8e9274940abfef63 100644 (file)
@@ -278,6 +278,7 @@ extern "C" {
     byte_dump_parameter_dark_e,
     byte_dump_parameter_no_color_e,
     byte_dump_parameter_verbosity_quiet_e,
+    byte_dump_parameter_verbosity_error_e,
     byte_dump_parameter_verbosity_normal_e,
     byte_dump_parameter_verbosity_verbose_e,
     byte_dump_parameter_verbosity_debug_e,
@@ -311,6 +312,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -333,7 +335,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(0, byte_dump_long_classic_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define byte_dump_total_parameters_d 25
+  #define byte_dump_total_parameters_d 26
 #endif // _di_byte_dump_parameters_
 
 #ifdef __cplusplus
index fb12d5b323ac9269e454982d7a178505a74d4785..f50c8dd8e2afd58acbd194b2d11022b5662e26a6 100644 (file)
@@ -99,6 +99,7 @@ extern "C" {
     control_parameter_dark_e,
     control_parameter_no_color_e,
     control_parameter_verbosity_quiet_e,
+    control_parameter_verbosity_error_e,
     control_parameter_verbosity_normal_e,
     control_parameter_verbosity_verbose_e,
     control_parameter_verbosity_debug_e,
@@ -117,6 +118,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -127,7 +129,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(control_short_socket_s.string, control_long_socket_s.string, 0, 1, f_console_type_normal_e), \
     }
 
-  #define control_total_parameters_d 13
+  #define control_total_parameters_d 14
 #endif // _di_control_parameters_
 
 /**
index 330b2b6b44071e6e6dcbb12ac894840333b09dda..4958d1c36530de34fd6a21b658f20a641a64f61b 100644 (file)
@@ -94,18 +94,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { control_parameter_verbosity_quiet_e, control_parameter_verbosity_normal_e, control_parameter_verbosity_verbose_e, control_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { control_parameter_verbosity_quiet_e, control_parameter_verbosity_error_e, control_parameter_verbosity_normal_e, control_parameter_verbosity_verbose_e, control_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == control_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == control_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == control_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index f436b545ecb5552f9a3561c5424d671586d18a70..2ea2b85cb7b85a79b277117e16febcfac9db1538 100644 (file)
@@ -121,6 +121,7 @@ extern "C" {
     controller_parameter_dark_e,
     controller_parameter_no_color_e,
     controller_parameter_verbosity_quiet_e,
+    controller_parameter_verbosity_error_e,
     controller_parameter_verbosity_normal_e,
     controller_parameter_verbosity_verbose_e,
     controller_parameter_verbosity_debug_e,
@@ -145,6 +146,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -161,7 +163,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(controller_short_validate_s.string, controller_long_validate_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define controller_total_parameters_d 19
+  #define controller_total_parameters_d 20
 #endif // _di_controller_parameters_
 
 /**
index bb422a4033c7c87b16b8f258d58212263498f6d6..7d63ac7010d66e9651f4b3b472bdd9fe6273dd30 100644 (file)
@@ -122,18 +122,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { controller_parameter_verbosity_quiet_e, controller_parameter_verbosity_normal_e, controller_parameter_verbosity_verbose_e, controller_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { controller_parameter_verbosity_quiet_e, controller_parameter_verbosity_error_e, controller_parameter_verbosity_normal_e, controller_parameter_verbosity_verbose_e, controller_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == controller_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == controller_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == controller_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index a440cc9d4f6f4599419c68b9e1bba7bdad020665..65a634200cacf3d7f4248becaf0d73ef3f640b9c 100644 (file)
@@ -879,7 +879,7 @@ extern "C" {
     }
 
     if (global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_found_e || global->main->error.verbosity == f_console_verbosity_verbose_e || global->main->error.verbosity == f_console_verbosity_debug_e) {
-      if (global->main->error.verbosity != f_console_verbosity_quiet_e) {
+      if (global->main->error.verbosity != f_console_verbosity_quiet_e && global->main->error.verbosity != f_console_verbosity_error_e) {
         controller_lock_print(global->main->output.to, global->thread);
 
         fl_print_format("%rProcessing %r%r item '", global->main->output.to.stream, f_string_eol_s, failsafe ? controller_entry_print_failsafe_s : f_string_empty_s, is_entry ? controller_entry_s : controller_exit_s);
@@ -944,43 +944,45 @@ extern "C" {
               if (entry_action->code & controller_entry_rule_code_require_d) {
                 output = &global->main->error;
               }
-              else {
+              else if (global->main->error.verbosity != f_console_verbosity_error_e) {
                 output = &global->main->warning;
               }
 
-              controller_lock_print(output->to, global->thread);
+              if (output) {
+                controller_lock_print(output->to, global->thread);
 
-              fl_print_format("%r%[%QThe %r item action '%]", output->to.stream, f_string_eol_s, output->context, output->prefix, is_entry ? controller_entry_s : controller_exit_s, output->context);
-              fl_print_format("%[%Q%]", output->to.stream, output->notable, cache->action.name_action, output->notable);
+                fl_print_format("%r%[%QThe %r item action '%]", output->to.stream, f_string_eol_s, output->context, output->prefix, is_entry ? controller_entry_s : controller_exit_s, output->context);
+                fl_print_format("%[%Q%]", output->to.stream, output->notable, cache->action.name_action, output->notable);
 
 
-              if (entry_action->parameters.used) {
-                fl_print_format(" %[", output->to.stream, global->main->context.set.notable);
+                if (entry_action->parameters.used) {
+                  fl_print_format(" %[", output->to.stream, global->main->context.set.notable);
 
-                controller_entry_action_parameters_print(output->to.stream, *entry_action);
+                  controller_entry_action_parameters_print(output->to.stream, *entry_action);
 
-                fl_print_format("%]", output->to.stream, global->main->context.set.notable);
-              }
+                  fl_print_format("%]", output->to.stream, global->main->context.set.notable);
+                }
 
-              if (entry_action->code & controller_entry_rule_code_require_d) {
-                fl_print_format("%[' is%] %[required%]", output->to.stream, output->context, output->context, output->notable, output->notable);
-              }
-              else {
-                fl_print_format("%[' is%] %[optional%]", output->to.stream, output->context, output->context, output->notable, output->notable);
-              }
+                if (entry_action->code & controller_entry_rule_code_require_d) {
+                  fl_print_format("%[' is%] %[required%]", output->to.stream, output->context, output->context, output->notable, output->notable);
+                }
+                else {
+                  fl_print_format("%[' is%] %[optional%]", output->to.stream, output->context, output->context, output->notable, output->notable);
+                }
 
-              fl_print_format(" %[and is in a%] %[failed%]", output->to.stream, output->context, output->context, output->notable, output->notable);
+                fl_print_format(" %[and is in a%] %[failed%]", output->to.stream, output->context, output->context, output->notable, output->notable);
 
-              if (entry_action->code & controller_entry_rule_code_require_d) {
-                fl_print_format(" %[state, aborting.%]%r", output->to.stream, output->context, output->context, f_string_eol_s);
-              }
-              else {
-                fl_print_format(" %[state, skipping.%]%r", output->to.stream, output->context, output->context, f_string_eol_s);
-              }
+                if (entry_action->code & controller_entry_rule_code_require_d) {
+                  fl_print_format(" %[state, aborting.%]%r", output->to.stream, output->context, output->context, f_string_eol_s);
+                }
+                else {
+                  fl_print_format(" %[state, skipping.%]%r", output->to.stream, output->context, output->context, f_string_eol_s);
+                }
 
-              controller_entry_print_error_cache(is_entry, *output, cache->action);
+                controller_entry_print_error_cache(is_entry, *output, cache->action);
 
-              controller_unlock_print_flush(output->to, global->thread);
+                controller_unlock_print_flush(output->to, global->thread);
+              }
             }
 
             if (controller_entry_action_type_is_rule(entry_action->type) && entry_action->code & controller_entry_rule_code_require_d) {
@@ -994,7 +996,7 @@ extern "C" {
         if (entry_action->type == controller_entry_action_type_ready_e) {
           if ((entry_action->code & controller_entry_rule_code_wait_d) || global->setting->ready == controller_setting_ready_wait_e) {
             if (global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_found_e || global->main->error.verbosity == f_console_verbosity_verbose_e || global->main->error.verbosity == f_console_verbosity_debug_e || entry->show == controller_entry_show_init_e) {
-              if (global->main->output.verbosity != f_console_verbosity_quiet_e) {
+              if (global->main->output.verbosity != f_console_verbosity_quiet_e && global->main->error.verbosity != f_console_verbosity_error_e) {
                 controller_lock_print(global->main->output.to, global->thread);
 
                 fl_print_format("%rWaiting before processing %r item action '", global->main->output.to.stream, f_string_eol_s, is_entry ? controller_entry_s : controller_exit_s);
@@ -1013,7 +1015,7 @@ extern "C" {
 
           if (global->setting->ready == controller_setting_ready_yes_e) {
             if (global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_found_e || global->main->error.verbosity == f_console_verbosity_verbose_e || global->main->error.verbosity == f_console_verbosity_debug_e) {
-              if (global->main->output.verbosity != f_console_verbosity_quiet_e) {
+              if (global->main->output.verbosity != f_console_verbosity_quiet_e && global->main->error.verbosity != f_console_verbosity_error_e) {
                 controller_lock_print(global->main->output.to, global->thread);
 
                 fl_print_format("%rIgnoring %r item action '", global->main->output.to.stream, f_string_eol_s, is_entry ? controller_entry_s : controller_exit_s);
@@ -1026,7 +1028,7 @@ extern "C" {
           }
           else {
             if (!failsafe && (global->main->error.verbosity == f_console_verbosity_verbose_e || entry->show == controller_entry_show_init_e) && global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_none_e) {
-              if (global->main->error.verbosity != f_console_verbosity_quiet_e) {
+              if (global->main->error.verbosity != f_console_verbosity_quiet_e && global->main->error.verbosity != f_console_verbosity_error_e) {
                 fl_print_format("%rState is now '%[%r%]'.%r", global->main->output.to.stream, f_string_eol_s, global->main->context.set.notable, controller_ready_s, global->main->context.set.notable, f_string_eol_s);
               }
             }
@@ -1086,7 +1088,7 @@ extern "C" {
           }
 
           if (global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_found_e || global->main->error.verbosity == f_console_verbosity_verbose_e || global->main->error.verbosity == f_console_verbosity_debug_e) {
-            if (global->main->output.verbosity != f_console_verbosity_quiet_e) {
+            if (global->main->output.verbosity != f_console_verbosity_quiet_e && global->main->error.verbosity != f_console_verbosity_error_e) {
               controller_lock_print(global->main->output.to, global->thread);
 
               fl_print_format("%rProcessing %r item '", global->main->output.to.stream, f_string_eol_s, is_entry ? controller_entry_s : controller_exit_s);
@@ -1142,7 +1144,7 @@ extern "C" {
           f_thread_unlock(&global->thread->lock.rule);
 
           if (global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_found_e || global->main->error.verbosity == f_console_verbosity_verbose_e || global->main->error.verbosity == f_console_verbosity_debug_e || (entry->show == controller_entry_show_init_e && entry_action->type != controller_entry_action_type_consider_e)) {
-            if (global->main->output.verbosity != f_console_verbosity_quiet_e) {
+            if (global->main->output.verbosity != f_console_verbosity_quiet_e && global->main->error.verbosity != f_console_verbosity_error_e) {
               controller_lock_print(global->main->output.to, global->thread);
 
               fl_print_format("%r%r %r item rule ", global->main->output.to.stream, f_string_eol_s, entry_action->type == controller_entry_action_type_consider_e ? controller_entry_print_considering_s : controller_entry_print_processing_s, is_entry ? controller_entry_s : controller_exit_s);
@@ -1292,7 +1294,7 @@ extern "C" {
         }
         else if (entry_action->type == controller_entry_action_type_execute_e) {
           if (global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_found_e || global->main->error.verbosity == f_console_verbosity_verbose_e || global->main->error.verbosity == f_console_verbosity_debug_e || entry->show == controller_entry_show_init_e) {
-            if (global->main->output.verbosity != f_console_verbosity_quiet_e) {
+            if (global->main->output.verbosity != f_console_verbosity_quiet_e && global->main->error.verbosity != f_console_verbosity_error_e) {
               controller_lock_print(global->main->output.to, global->thread);
 
               fl_print_format("%r%Q is executing '", global->main->output.to.stream, f_string_eol_s, is_entry ? controller_entry_s : controller_exit_s);
@@ -1484,7 +1486,7 @@ extern "C" {
       }
     }
 
-    if ((global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_found_e && global->main->error.verbosity != f_console_verbosity_quiet_e) || global->main->error.verbosity == f_console_verbosity_verbose_e) {
+    if ((global->main->parameters.array[controller_parameter_simulate_e].result == f_console_result_found_e && global->main->error.verbosity != f_console_verbosity_quiet_e) && global->main->error.verbosity != f_console_verbosity_error_e || global->main->error.verbosity == f_console_verbosity_verbose_e) {
       controller_lock_print(global->main->output.to, global->thread);
 
       fl_print_format("%rDone processing %r item '", global->main->output.to.stream, f_string_eol_s, is_entry ? controller_entry_s : controller_exit_s);
@@ -1760,7 +1762,7 @@ extern "C" {
 
               fl_print_format("%r%[%QThe required %r item '%]", global.main->error.to.stream, f_string_eol_s, global.main->error.context, global.main->error.prefix, is_entry ? controller_entry_s : controller_exit_s, global.main->error.context);
               fl_print_format("%[%r%]", global.main->error.to.stream, global.main->error.notable, controller_main_s, global.main->error.notable);
-              fl_print_format("%[' was not found.%]%r", global.main->error.to.stream, global.main->error.context, global.main->error.context, f_string_eol_s);
+              fl_print_format("%[' is not found.%]%r", global.main->error.to.stream, global.main->error.context, global.main->error.context, f_string_eol_s);
 
               controller_unlock_print_flush(global.main->error.to, global.thread);
             }
index 001668f5e70ea42d54c741d5dab9b84edef0b31f..82e6041a26e56e568e76b8ad37f122473af3079e 100644 (file)
@@ -1746,7 +1746,7 @@ extern "C" {
     }
 
     if (options & controller_process_option_simulate_d) {
-      if (main->error.verbosity != f_console_verbosity_quiet_e) {
+      if (main->error.verbosity != f_console_verbosity_quiet_e && main->error.verbosity != f_console_verbosity_error_e) {
         controller_lock_print(main->error.to, thread);
 
         fl_print_format("%rSimulating execution of '%[", main->error.to.stream, f_string_eol_s, main->context.set.title);
@@ -2799,7 +2799,7 @@ extern "C" {
             if (i == 0) {
               controller_lock_print(global.main->error.to, global.thread);
 
-              controller_rule_item_print_error_need_want_wish(global.main->error, strings[i], dynamics[i]->array[j], "was not found");
+              controller_rule_item_print_error_need_want_wish(global.main->error, strings[i], dynamics[i]->array[j], "is not found");
               controller_rule_print_error_cache(global.main->error, process->cache.action, F_true);
 
               controller_unlock_print_flush(global.main->error.to, global.thread);
@@ -2818,7 +2818,7 @@ extern "C" {
               if (global.main->warning.verbosity == f_console_verbosity_debug_e) {
                 controller_lock_print(global.main->warning.to, global.thread);
 
-                controller_rule_item_print_error_need_want_wish(global.main->warning, strings[i], dynamics[i]->array[j], "was not found");
+                controller_rule_item_print_error_need_want_wish(global.main->warning, strings[i], dynamics[i]->array[j], "is not found");
 
                 controller_rule_print_error_cache(global.main->warning, process->cache.action, F_true);
 
@@ -4502,7 +4502,7 @@ extern "C" {
           if (type == rule->limits.array[j].type) {
             if (global.main->error.verbosity != f_console_verbosity_quiet_e) {
 
-              // get the current line number within the settings item.
+              // Get the current line number within the settings item.
               cache->action.line_item = line_item;
               f_fss_count_lines(state, cache->buffer_item, cache->object_actions.array[i].start, &cache->action.line_item);
 
index dffac95dce551d1f9927c94200e7d993fafa1bd8..9d5c9713265d914b40f1c0791937c5bdd5226abf 100644 (file)
@@ -386,6 +386,7 @@ extern "C" {
     fake_parameter_dark_e,
     fake_parameter_no_color_e,
     fake_parameter_verbosity_quiet_e,
+    fake_parameter_verbosity_error_e,
     fake_parameter_verbosity_normal_e,
     fake_parameter_verbosity_verbose_e,
     fake_parameter_verbosity_debug_e,
@@ -422,6 +423,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -447,7 +449,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(0, 0, fake_other_operation_skeleton_s.string, 0, f_console_type_other_e), \
     }
 
-  #define fake_total_parameters_d 28
+  #define fake_total_parameters_d 29
 #endif // _di_fake_parameters_
 
 #ifdef __cplusplus
index 9734e836738c3b844062e2fd26ed3a2e4b660516..a1223c9d1ef916f883231750dc790b43b1714397 100644 (file)
@@ -25,6 +25,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -127,9 +128,9 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fake_parameter_verbosity_quiet_e, fake_parameter_verbosity_normal_e, fake_parameter_verbosity_verbose_e, fake_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fake_parameter_verbosity_quiet_e, fake_parameter_verbosity_error_e, fake_parameter_verbosity_normal_e, fake_parameter_verbosity_verbose_e, fake_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
 
@@ -144,6 +145,11 @@ extern "C" {
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fake_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fake_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
@@ -451,7 +457,7 @@ extern "C" {
         }
       }
 
-      if (main->error.verbosity != f_console_verbosity_quiet_e) {
+      if (main->error.verbosity != f_console_verbosity_quiet_e && main->error.verbosity != f_console_verbosity_error_e) {
         if (F_status_is_error_not(status) && status != F_child) {
           fll_print_format("%rAll operations complete.%r%r", main->output.to.stream, f_string_eol_s, f_string_eol_s, f_string_eol_s);
         }
index 2561874aec6b5ff6eec4ab045dbf0c8a0d5b1592..7b0a7a6a817841ad6fcc7a8e93b5463d3d087b88 100644 (file)
@@ -24,7 +24,7 @@ extern "C" {
     if (F_status_is_error(*status) || f_file_exists(file_stage, F_true) == F_true || *status == F_child) return data->main->child;
     if (!data_build->setting.build_sources_library.used && !data_build->setting.build_sources_library_shared.used) return 0;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Compiling shared library.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
     }
 
@@ -446,7 +446,7 @@ extern "C" {
     if (F_status_is_error(*status) || f_file_exists(file_stage, F_true) == F_true || *status == F_child) return data->main->child;
     if (!data_build->setting.build_sources_library.used && !data_build->setting.build_sources_library_static.used) return 0;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Compiling static library.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
     }
 
index b3e75da7ab2ddb616c65990d9a6821542d3ec87d..465f1ee12a3c642a4a9354fb53866cd84a2c04bb 100644 (file)
@@ -25,7 +25,7 @@ extern "C" {
     if (F_status_is_error(*status) || f_file_exists(file_stage, F_true) == F_true || *status == F_child) return data->main->child;
     if (!data_build->setting.build_sources_object.used && !data_build->setting.build_sources_object_shared.used) return 0;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Compiling shared object.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
     }
 
@@ -96,7 +96,7 @@ extern "C" {
     if (F_status_is_error(*status) || f_file_exists(file_stage, F_true) == F_true || *status == F_child) return data->main->child;
     if (!data_build->setting.build_sources_object.used && !data_build->setting.build_sources_object_static.used) return 0;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Compiling static object.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
     }
 
index 283751ae1533af207f2f15ce87549a33746feb14..29e50c155bdeae92f8f5d60762903ba36ae31a68 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     if (F_status_is_error(*status) || f_file_exists(file_stage, F_true) == F_true || *status == F_child) return data->main->child;
     if (!data_build->setting.build_sources_library.used) return 0;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Compiling objects for static library.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
     }
 
index 60e2168d325243e629264e643d53f7c7e7851779..4f8173885115adc1a91778fc61acfb037bce6601 100644 (file)
@@ -25,7 +25,7 @@ extern "C" {
     if (F_status_is_error(*status) || f_file_exists(file_stage, F_true) == F_true || *status == F_child) return data->main->child;
     if (!data_build->setting.build_sources_program.used && !data_build->setting.build_sources_program_shared.used) return 0;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Compiling shared program.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
     }
 
@@ -119,7 +119,7 @@ extern "C" {
     if (F_status_is_error(*status) || f_file_exists(file_stage, F_true) == F_true || *status == F_child) return data->main->child;
     if (!data_build->setting.build_sources_program.used && !data_build->setting.build_sources_program_static.used) return 0;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Compiling static program.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
     }
 
index 40d09d29f23659b444e22878680a99a5f402ece2..bb2f62e297edc89c6eda630f17787f615795253f 100644 (file)
@@ -50,7 +50,7 @@ extern "C" {
       &path_headers,
     };
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Creating base build directories.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
     }
 
index 4ec07e7b73dfc2be6bf61b0190f77f7a37431186..6b02a86d1eb1d8f5b2c875cba528577d65e0241c 100644 (file)
@@ -361,7 +361,7 @@ extern "C" {
     f_string_dynamic_t destination_directory = f_string_dynamic_t_initialize;
     f_string_static_t buffer = f_string_static_t_initialize;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%r%[Copying %Q.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, label, data->main->context.set.important, f_string_eol_s);
     }
 
@@ -597,6 +597,9 @@ extern "C" {
       if (data->main->context.mode == f_console_verbosity_quiet_e) {
         memcpy(argument_string + f_console_symbol_short_disable_s.used, f_console_standard_short_quiet_s.string, sizeof(f_char_t) * f_console_standard_short_quiet_s.used);
       }
+      else if (data->main->context.mode == f_console_verbosity_error_e) {
+        memcpy(argument_string + f_console_symbol_short_disable_s.used, f_console_standard_short_error_s.string, sizeof(f_char_t) * f_console_standard_short_error_s.used);
+      }
       else if (data->main->context.mode == f_console_verbosity_verbose_e) {
         memcpy(argument_string + f_console_symbol_short_disable_s.used, f_console_standard_short_verbose_s.string, sizeof(f_char_t) * f_console_standard_short_verbose_s.used);
       }
@@ -831,7 +834,7 @@ extern "C" {
     fake_build_load_setting(data, build_arguments, &data_build.setting, &status);
 
     if (F_status_is_fine(status)) {
-      if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+      if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
         flockfile(data->main->output.to.stream);
 
         fl_print_format("%r%[Building%] ", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important);
index af70c72edc7be9ebc59241ef981fd904aae262c8..dad819bbcc7f14bc956c8a15465a6ea91694fa79 100644 (file)
@@ -9,7 +9,7 @@ extern "C" {
 #ifndef _di_fake_clean_operate_
   f_status_t fake_clean_operate(fake_data_t * const data) {
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       flockfile(data->main->output.to.stream);
 
       fl_print_format("%r%[Deleting all files within build directory '%]", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important);
index 3b62910892fd6d2b4fd73b5bd3e0d67280e2ea3c..16d3e8d920e1d98d02a9c961b8fc8b06ec886c1a 100644 (file)
@@ -100,6 +100,18 @@ extern "C" {
           *status = f_string_dynamic_append(f_console_standard_short_quiet_s, &data_make->parameter.verbosity.array[data_make->parameter.verbosity.used]);
         }
       }
+      else if (data_make->main->error.verbosity == f_console_verbosity_error_e) {
+        if (data_make->main->parameters.array[fake_parameter_verbosity_error_e].type == f_console_type_normal_e) {
+          *status = f_string_dynamic_append(f_console_symbol_short_enable_s, &data_make->parameter.verbosity.array[data_make->parameter.verbosity.used]);
+        }
+        else if (data_make->main->parameters.array[fake_parameter_verbosity_error_e].type == f_console_type_inverse_e) {
+          *status = f_string_dynamic_append(f_console_symbol_short_disable_s, &data_make->parameter.verbosity.array[data_make->parameter.verbosity.used]);
+        }
+
+        if (F_status_is_error_not(*status)) {
+          *status = f_string_dynamic_append(f_console_standard_short_error_s, &data_make->parameter.verbosity.array[data_make->parameter.verbosity.used]);
+        }
+      }
       else if (data_make->main->error.verbosity >= f_console_verbosity_verbose_e) {
         if (data_make->main->parameters.array[fake_parameter_verbosity_verbose_e].type == f_console_type_normal_e) {
           *status = f_string_dynamic_append(f_console_symbol_short_enable_s, &data_make->parameter.verbosity.array[data_make->parameter.verbosity.used]);
index 4abf2ef23d1f9c8a9cc9a75b21609b6d5303b11b..c74a02e1843e24ee7017c5760d08ecf90c9daedf 100644 (file)
@@ -22,7 +22,7 @@ extern "C" {
       return F_status_set_error(F_interrupt);
     }
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       flockfile(data->main->output.to.stream);
 
       fl_print_format("%r%[Now making using '%]", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important);
@@ -1040,7 +1040,7 @@ extern "C" {
 
     const f_fss_named_t *section = &data_make->fakefile.array[id_section];
 
-    if (data_make->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data_make->main->output.verbosity != f_console_verbosity_quiet_e && data_make->main->output.verbosity != f_console_verbosity_error_e) {
       flockfile(data_make->main->output.to.stream);
 
       fl_print_format("%r%[Processing Section '%]", data_make->main->output.to.stream, f_string_eol_s, data_make->main->context.set.important, data_make->main->context.set.important);
index 8532f3b64a13b4b6b1a76d34995f31cd668ae4c2..081d2095ce763cbd0a58ee9f5c846211949b772c 100644 (file)
@@ -64,7 +64,7 @@ extern "C" {
 
             fl_print_format("%r%[%QThe group name '%]", data->main->error.to.stream, f_string_eol_s, data->main->error.context, data->main->error.prefix, data->main->error.context);
             fl_print_format("%[%Q%]", data->main->error.to.stream, data->main->error.notable, buffer, data->main->error.notable);
-            fl_print_format("%[' was not found.%]%r", data->main->error.to.stream, data->main->error.context, data->main->error.context, f_string_eol_s);
+            fl_print_format("%[' is not found.%]%r", data->main->error.to.stream, data->main->error.context, data->main->error.context, f_string_eol_s);
 
             funlockfile(data->main->error.to.stream);
           }
@@ -157,7 +157,7 @@ extern "C" {
 
             fl_print_format("%r%[%QThe user '%]", data->main->error.to.stream, f_string_eol_s, data->main->error.context, data->main->error.prefix, data->main->error.context);
             fl_print_format("%[%Q%]", data->main->error.to.stream, data->main->error.notable, buffer, data->main->error.notable);
-            fl_print_format("%[' was not found.%]%r", data->main->error.to.stream, data->main->error.context, data->main->error.context, f_string_eol_s);
+            fl_print_format("%[' is not found.%]%r", data->main->error.to.stream, data->main->error.context, data->main->error.context, f_string_eol_s);
 
             funlockfile(data->main->error.to.stream);
           }
index 800fdf9457fbf5e79f55720e9f8a6a2517df443e..9b2844a1771e6bf2c7bc87077ddf7e6684f6342a 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
 
     f_status_t status = F_none;
 
-    if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
+    if (data->main->output.verbosity != f_console_verbosity_quiet_e && data->main->output.verbosity != f_console_verbosity_error_e) {
       fll_print_format("%rGenerating skeleton structure.%r", data->main->output.to.stream, f_string_eol_s, f_string_eol_s);
 
       if (data->main->output.verbosity >= f_console_verbosity_verbose_e) {
index 9bdbc2ea927800715d17119355ba88e5bae32c43..92b1ded34888b049b617a0709416983bbdabd670 100644 (file)
@@ -352,6 +352,7 @@ extern "C" {
     firewall_parameter_dark_e,
     firewall_parameter_no_color_e,
     firewall_parameter_verbosity_quiet_e,
+    firewall_parameter_verbosity_error_e,
     firewall_parameter_verbosity_normal_e,
     firewall_parameter_verbosity_verbose_e,
     firewall_parameter_verbosity_debug_e,
@@ -399,7 +400,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(0, 0, firewall_command_show_s.string, F_false, f_console_type_other_e), \
     }
 
-  #define firewall_total_parameters_d 14
+  #define firewall_total_parameters_d 15
 #endif // _di_firewall_defines_
 
 #ifdef __cplusplus
index da6259512bbf892b84130c9c4dd1563c22dc99e8..49fa48cb8eb2960181a19b7fdd3d8da6b72fb65a 100644 (file)
@@ -24,6 +24,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -82,7 +83,7 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { firewall_parameter_verbosity_quiet_e, firewall_parameter_verbosity_normal_e, firewall_parameter_verbosity_verbose_e, firewall_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { firewall_parameter_verbosity_quiet_e, firewall_parameter_verbosity_error_e, firewall_parameter_verbosity_normal_e, firewall_parameter_verbosity_verbose_e, firewall_parameter_verbosity_debug_e };
       const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
       f_console_parameter_id_t choice = 0;
 
@@ -94,6 +95,11 @@ extern "C" {
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == firewall_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == firewall_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 76144ef5c30684c443a9b0402ad7fb7d4a401447..316be01088b19ccee294c6a7f8581f64c805b1d7 100644 (file)
@@ -190,6 +190,7 @@ extern "C" {
     fss_basic_list_read_parameter_dark_e,
     fss_basic_list_read_parameter_no_color_e,
     fss_basic_list_read_parameter_verbosity_quiet_e,
+    fss_basic_list_read_parameter_verbosity_error_e,
     fss_basic_list_read_parameter_verbosity_normal_e,
     fss_basic_list_read_parameter_verbosity_verbose_e,
     fss_basic_list_read_parameter_verbosity_debug_e,
@@ -218,6 +219,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, F_false, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -238,7 +240,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_basic_list_read_short_trim_s.string, fss_basic_list_read_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_basic_list_read_total_parameters_d 23
+  #define fss_basic_list_read_total_parameters_d 24
 #endif // _di_fss_basic_list_read_parameters_
 
 /**
index 81fbb09a9957aa0d8da3a48391ec72341bd5db3d..cb1151073bd22b65a1aaa5c49f6fcfaf2e6d55bc 100644 (file)
@@ -19,6 +19,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -153,19 +154,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_basic_list_read_parameter_verbosity_quiet_e, fss_basic_list_read_parameter_verbosity_normal_e, fss_basic_list_read_parameter_verbosity_verbose_e, fss_basic_list_read_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_basic_list_read_parameter_verbosity_quiet_e, fss_basic_list_read_parameter_verbosity_error_e, fss_basic_list_read_parameter_verbosity_normal_e, fss_basic_list_read_parameter_verbosity_verbose_e, fss_basic_list_read_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
 
-      if (F_status_is_error(status)) return status;
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_basic_list_read_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_basic_list_read_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_basic_list_read_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 337afa78c125b0c4df7900b2ac09cae861ae7479..3c7cd06f370775325ec9e358d7ca9ff072f102dd 100644 (file)
@@ -160,6 +160,7 @@ extern "C" {
     fss_basic_list_write_parameter_dark_e,
     fss_basic_list_write_parameter_no_color_e,
     fss_basic_list_write_parameter_verbosity_quiet_e,
+    fss_basic_list_write_parameter_verbosity_error_e,
     fss_basic_list_write_parameter_verbosity_normal_e,
     fss_basic_list_write_parameter_verbosity_verbose_e,
     fss_basic_list_write_parameter_verbosity_debug_e,
@@ -183,6 +184,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, F_false, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -198,7 +200,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_basic_list_write_short_trim_s.string, fss_basic_list_write_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_basic_list_write_total_parameters_d 18
+  #define fss_basic_list_write_total_parameters_d 19
 #endif // _di_fss_basic_list_write_parameters_
 
 #ifdef __cplusplus
index 07b8fb2b9f70914e85923bd000a40d3a5dabc493..71b29bb5ef70b38279f2fa2cd2e12e6b173dfff2 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -92,18 +93,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_basic_list_write_parameter_verbosity_quiet_e, fss_basic_list_write_parameter_verbosity_normal_e, fss_basic_list_write_parameter_verbosity_verbose_e, fss_basic_list_write_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_basic_list_write_parameter_verbosity_quiet_e, fss_basic_list_write_parameter_verbosity_error_e, fss_basic_list_write_parameter_verbosity_normal_e, fss_basic_list_write_parameter_verbosity_verbose_e, fss_basic_list_write_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_basic_list_write_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_basic_list_write_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_basic_list_write_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 5f3537cb89dc798373a3a443fe9671b637b06b2d..62ee9dd5798b0067c0392311cc659691b00bdf1a 100644 (file)
@@ -9,9 +9,7 @@ extern "C" {
 #ifndef _di_fss_basic_list_write_error_parameter_same_times_print_
   void fss_basic_list_write_error_parameter_same_times_print(fll_program_data_t * const main) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
@@ -30,9 +28,7 @@ extern "C" {
 #ifndef _di_fss_basic_list_write_error_parameter_unsupported_eol_print_
   void fss_basic_list_write_error_parameter_unsupported_eol_print(fll_program_data_t * const main) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
@@ -49,9 +45,7 @@ extern "C" {
 #ifndef _di_fss_basic_list_write_error_parameter_value_missing_print_
   void fss_basic_list_write_error_parameter_value_missing_print(fll_program_data_t * const main, const f_string_static_t symbol, const f_string_static_t parameter) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
index 76da4682c26962e6a7e266978a67ba14bb36b72f..330559e95aa50a19538a1768c042a95ad04f86a9 100644 (file)
@@ -190,6 +190,7 @@ extern "C" {
     fss_basic_read_parameter_dark_e,
     fss_basic_read_parameter_no_color_e,
     fss_basic_read_parameter_verbosity_quiet_e,
+    fss_basic_read_parameter_verbosity_error_e,
     fss_basic_read_parameter_verbosity_normal_e,
     fss_basic_read_parameter_verbosity_verbose_e,
     fss_basic_read_parameter_verbosity_debug_e,
@@ -218,6 +219,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -238,7 +240,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_basic_read_short_trim_s.string, fss_basic_read_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_basic_read_total_parameters_d 23
+  #define fss_basic_read_total_parameters_d 24
 #endif // _di_fss_basic_read_parameters_
 
 /**
index 1fdf288cec6c205fb2bd71c5c87ed1804039a02c..23cbb198e5e4ac2c6b29bef0c67947659b95fd9b 100644 (file)
@@ -19,6 +19,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -153,18 +154,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_basic_read_parameter_verbosity_quiet_e, fss_basic_read_parameter_verbosity_normal_e, fss_basic_read_parameter_verbosity_verbose_e, fss_basic_read_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_basic_read_parameter_verbosity_quiet_e, fss_basic_read_parameter_verbosity_error_e, fss_basic_read_parameter_verbosity_normal_e, fss_basic_read_parameter_verbosity_verbose_e, fss_basic_read_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_basic_read_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_basic_read_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_basic_read_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 69b4e7e1a5250d5a89409fc4398d487c62c58411..09280e9d1cc2eaf75ac3752950cb285b59ea8404 100644 (file)
@@ -160,6 +160,7 @@ extern "C" {
     fss_basic_write_parameter_dark_e,
     fss_basic_write_parameter_no_color_e,
     fss_basic_write_parameter_verbosity_quiet_e,
+    fss_basic_write_parameter_verbosity_error_e,
     fss_basic_write_parameter_verbosity_normal_e,
     fss_basic_write_parameter_verbosity_verbose_e,
     fss_basic_write_parameter_verbosity_debug_e,
@@ -183,6 +184,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
index 8bd0dcb5c2512506891176ed96de0fdf3063d371..b1d95bed73fc818a2bc0a4c255e9833887aeee6e 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -92,18 +93,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_basic_write_parameter_verbosity_quiet_e, fss_basic_write_parameter_verbosity_normal_e, fss_basic_write_parameter_verbosity_verbose_e, fss_basic_write_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_basic_write_parameter_verbosity_quiet_e, fss_basic_write_parameter_verbosity_error_e, fss_basic_write_parameter_verbosity_normal_e, fss_basic_write_parameter_verbosity_verbose_e, fss_basic_write_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_basic_write_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_basic_write_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_basic_write_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
@@ -485,7 +496,7 @@ extern "C" {
             funlockfile(main->error.to.stream);
           }
         }
-        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->parameters.array[fss_basic_write_parameter_file_e].result == f_console_result_none_e) {
+        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->error.verbosity != f_console_verbosity_error_e && main->parameters.array[fss_basic_write_parameter_file_e].result == f_console_result_none_e) {
 
           // Ensure there is always a newline at the end, unless in quiet mode.
           fll_print_dynamic_raw(f_string_eol_s, main->output.to.stream);
index 5ef573dc92bea4324231be11ae813373b985e70c..9c5c7f3e3908a82978fd378c47368a3bed04edcd 100644 (file)
@@ -9,9 +9,7 @@ extern "C" {
 #ifndef _di_fss_basic_write_error_parameter_same_times_print_
   void fss_basic_write_error_parameter_same_times_print(fll_program_data_t * const main) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
@@ -30,9 +28,7 @@ extern "C" {
 #ifndef _di_fss_basic_write_error_parameter_value_missing_print_
   void fss_basic_write_error_parameter_value_missing_print(fll_program_data_t * const main, const f_string_static_t symbol, const f_string_static_t parameter) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
@@ -47,9 +43,7 @@ extern "C" {
 #ifndef _di_fss_basic_write_error_parameter_unsupported_eol_print_
   void fss_basic_write_error_parameter_unsupported_eol_print(fll_program_data_t * const main) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
index 4257fbc7291cc33bb2df5b50b771499de975055f..a6ce821a12ad8d951eea7a0ce875963baa22d81c 100644 (file)
@@ -190,6 +190,7 @@ extern "C" {
     fss_embedded_list_read_parameter_dark_e,
     fss_embedded_list_read_parameter_no_color_e,
     fss_embedded_list_read_parameter_verbosity_quiet_e,
+    fss_embedded_list_read_parameter_verbosity_error_e,
     fss_embedded_list_read_parameter_verbosity_normal_e,
     fss_embedded_list_read_parameter_verbosity_verbose_e,
     fss_embedded_list_read_parameter_verbosity_debug_e,
@@ -218,6 +219,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -238,7 +240,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_embedded_list_read_short_trim_s.string, fss_embedded_list_read_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_embedded_list_read_total_parameters_d 23
+  #define fss_embedded_list_read_total_parameters_d 24
 #endif // _di_fss_embedded_list_read_parameters_
 
 /**
index f8abdddd8e1681f3e7726320a0cefbc4ef292ead..a416fcec2b96df0965916484169e0df3a57f99d5 100644 (file)
@@ -19,6 +19,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -152,19 +153,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_embedded_list_read_parameter_verbosity_quiet_e, fss_embedded_list_read_parameter_verbosity_normal_e, fss_embedded_list_read_parameter_verbosity_verbose_e, fss_embedded_list_read_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_embedded_list_read_parameter_verbosity_quiet_e, fss_embedded_list_read_parameter_verbosity_error_e, fss_embedded_list_read_parameter_verbosity_normal_e, fss_embedded_list_read_parameter_verbosity_verbose_e, fss_embedded_list_read_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
 
-      if (F_status_is_error(status)) return status;
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_embedded_list_read_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_embedded_list_read_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_embedded_list_read_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 23e30d7535c4f0ecbc0cf58a580d4c7bd214f663..d7442c6b8fe6167a9e32c034121d0cdc8bcef908 100644 (file)
@@ -160,6 +160,7 @@ extern "C" {
     fss_embedded_list_write_parameter_dark_e,
     fss_embedded_list_write_parameter_no_color_e,
     fss_embedded_list_write_parameter_verbosity_quiet_e,
+    fss_embedded_list_write_parameter_verbosity_error_e,
     fss_embedded_list_write_parameter_verbosity_normal_e,
     fss_embedded_list_write_parameter_verbosity_verbose_e,
     fss_embedded_list_write_parameter_verbosity_debug_e,
@@ -183,6 +184,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, F_false, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -198,7 +200,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_embedded_list_write_short_trim_s.string, fss_embedded_list_write_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_embedded_list_write_total_parameters_d 18
+  #define fss_embedded_list_write_total_parameters_d 19
 #endif // _di_fss_embedded_list_write_parameters_
 
 #ifdef __cplusplus
index b810a18010dd9c75d5cd801488d3e67f0e73c515..0ecb59106634c70dd7bdbe68521ccd9934286d11 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -95,18 +96,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_embedded_list_write_parameter_verbosity_quiet_e, fss_embedded_list_write_parameter_verbosity_normal_e, fss_embedded_list_write_parameter_verbosity_verbose_e, fss_embedded_list_write_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_embedded_list_write_parameter_verbosity_quiet_e, fss_embedded_list_write_parameter_verbosity_error_e, fss_embedded_list_write_parameter_verbosity_normal_e, fss_embedded_list_write_parameter_verbosity_verbose_e, fss_embedded_list_write_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_embedded_list_write_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_embedded_list_write_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_embedded_list_write_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
@@ -498,7 +509,7 @@ extern "C" {
             funlockfile(main->error.to.stream);
           }
         }
-        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->parameters.array[fss_embedded_list_write_parameter_file_e].result == f_console_result_none_e) {
+        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->error.verbosity != f_console_verbosity_error_e && main->parameters.array[fss_embedded_list_write_parameter_file_e].result == f_console_result_none_e) {
 
           // Ensure there is always a newline at the end, unless in quiet mode.
           fll_print_dynamic_raw(f_string_eol_s, main->output.to.stream);
index 8c5fddd53228ff461c6b8638dd1c516cdc33581a..a38497f592caccddf548cf14b73be229c40c9d63 100644 (file)
@@ -190,6 +190,7 @@ extern "C" {
     fss_extended_list_read_parameter_dark_e,
     fss_extended_list_read_parameter_no_color_e,
     fss_extended_list_read_parameter_verbosity_quiet_e,
+    fss_extended_list_read_parameter_verbosity_error_e,
     fss_extended_list_read_parameter_verbosity_normal_e,
     fss_extended_list_read_parameter_verbosity_verbose_e,
     fss_extended_list_read_parameter_verbosity_debug_e,
@@ -218,6 +219,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, F_false, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -238,7 +240,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_extended_list_read_short_trim_s.string, fss_extended_list_read_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_extended_list_read_total_parameters_d 23
+  #define fss_extended_list_read_total_parameters_d 24
 #endif // _di_fss_extended_list_read_parameters_
 
 /**
index e813f421980cc5304ae8e74af885ec886a5fa591..2247565bf446e4942e57c84f10b377c2220aeb64 100644 (file)
@@ -19,6 +19,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -153,18 +154,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_extended_list_read_parameter_verbosity_quiet_e, fss_extended_list_read_parameter_verbosity_normal_e, fss_extended_list_read_parameter_verbosity_verbose_e, fss_extended_list_read_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_extended_list_read_parameter_verbosity_quiet_e, fss_extended_list_read_parameter_verbosity_error_e, fss_extended_list_read_parameter_verbosity_normal_e, fss_extended_list_read_parameter_verbosity_verbose_e, fss_extended_list_read_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_extended_list_read_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_extended_list_read_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_extended_list_read_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 5426bed451db7f49a1ccfbdaf4420d0cab369518..52a3dc8bdf9ae54e019ddf80008a7f396f14976d 100644 (file)
@@ -160,6 +160,7 @@ extern "C" {
     fss_extended_list_write_parameter_dark_e,
     fss_extended_list_write_parameter_no_color_e,
     fss_extended_list_write_parameter_verbosity_quiet_e,
+    fss_extended_list_write_parameter_verbosity_error_e,
     fss_extended_list_write_parameter_verbosity_normal_e,
     fss_extended_list_write_parameter_verbosity_verbose_e,
     fss_extended_list_write_parameter_verbosity_debug_e,
@@ -183,6 +184,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, F_false, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -198,7 +200,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_extended_list_write_short_trim_s.string, fss_extended_list_write_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_extended_list_write_total_parameters_d 18
+  #define fss_extended_list_write_total_parameters_d 19
 #endif // _di_fss_extended_list_write_parameters_
 
 /**
index 46a90dd5bd078c0d0a88b3a99d0cce7438c8dc52..fd90cdfe4cfc59475d5df3405473a4986d5bd197 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -95,18 +96,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_extended_list_write_parameter_verbosity_quiet_e, fss_extended_list_write_parameter_verbosity_normal_e, fss_extended_list_write_parameter_verbosity_verbose_e, fss_extended_list_write_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_extended_list_write_parameter_verbosity_quiet_e, fss_extended_list_write_parameter_verbosity_error_e, fss_extended_list_write_parameter_verbosity_normal_e, fss_extended_list_write_parameter_verbosity_verbose_e, fss_extended_list_write_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_extended_list_write_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_extended_list_write_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_extended_list_write_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
@@ -497,7 +508,7 @@ extern "C" {
             funlockfile(main->error.to.stream);
           }
         }
-        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->parameters.array[fss_extended_list_write_parameter_file_e].result == f_console_result_none_e) {
+        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->error.verbosity != f_console_verbosity_error_e && main->parameters.array[fss_extended_list_write_parameter_file_e].result == f_console_result_none_e) {
 
           // Ensure there is always a newline at the end, unless in quiet mode.
           fll_print_dynamic_raw(f_string_eol_s, main->output.to.stream);
index 97b6bbefd9774b92d23d114c98ae9b60f0eac002..47e754f7b6b073ec59c4bab34d5a18e8deb982e8 100644 (file)
@@ -9,9 +9,7 @@ extern "C" {
 #ifndef _di_fss_extended_list_write_error_parameter_same_times_print_
   void fss_extended_list_write_error_parameter_same_times_print(fll_program_data_t * const main) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
@@ -30,9 +28,7 @@ extern "C" {
 #ifndef _di_fss_extended_list_write_error_parameter_unsupported_eol_print_
   void fss_extended_list_write_error_parameter_unsupported_eol_print(fll_program_data_t * const main) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
@@ -49,9 +45,7 @@ extern "C" {
 #ifndef _di_fss_extended_list_write_error_parameter_value_missing_print_
   void fss_extended_list_write_error_parameter_value_missing_print(fll_program_data_t * const main, const f_string_static_t symbol, const f_string_static_t parameter) {
 
-    if (main->error.verbosity == f_console_verbosity_quiet_e) {
-      return;
-    }
+    if (main->error.verbosity == f_console_verbosity_quiet_e) return;
 
     flockfile(main->error.to.stream);
 
index 913a39a3dfa155ff0b4769212e75ad8f45f9a830..c5d2263554816f10236b1bef00f358073bd2a08b 100644 (file)
@@ -190,6 +190,7 @@ extern "C" {
     fss_extended_read_parameter_dark_e,
     fss_extended_read_parameter_no_color_e,
     fss_extended_read_parameter_verbosity_quiet_e,
+    fss_extended_read_parameter_verbosity_error_e,
     fss_extended_read_parameter_verbosity_normal_e,
     fss_extended_read_parameter_verbosity_verbose_e,
     fss_extended_read_parameter_verbosity_debug_e,
@@ -218,6 +219,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -238,7 +240,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_extended_read_short_trim_s.string, fss_extended_read_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_extended_read_total_parameters_d 23
+  #define fss_extended_read_total_parameters_d 24
 #endif // _di_fss_extended_read_parameters_
 
 /**
index ba30941d269736291a01568b130c4168bd5f5b8d..a6773c9c04bde59ba414004897a6929ea7e91a7d 100644 (file)
@@ -19,6 +19,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -153,18 +154,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_extended_read_parameter_verbosity_quiet_e, fss_extended_read_parameter_verbosity_normal_e, fss_extended_read_parameter_verbosity_verbose_e, fss_extended_read_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_extended_read_parameter_verbosity_quiet_e, fss_extended_read_parameter_verbosity_error_e, fss_extended_read_parameter_verbosity_normal_e, fss_extended_read_parameter_verbosity_verbose_e, fss_extended_read_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_extended_read_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_extended_read_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_extended_read_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 269a09d948fc88892ce802127011f4333c10e5cd..a6286f7d0d2a6a7e7c5e28b3905a2d62b2c954b2 100644 (file)
@@ -160,6 +160,7 @@ extern "C" {
     fss_extended_write_parameter_dark_e,
     fss_extended_write_parameter_no_color_e,
     fss_extended_write_parameter_verbosity_quiet_e,
+    fss_extended_write_parameter_verbosity_error_e,
     fss_extended_write_parameter_verbosity_normal_e,
     fss_extended_write_parameter_verbosity_verbose_e,
     fss_extended_write_parameter_verbosity_debug_e,
@@ -183,6 +184,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
index c71bea21fea53265e9b796d35a8486160c2f1ee6..f99958220d845c0e598719c73d80161bea981849 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -92,18 +93,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_extended_write_parameter_verbosity_quiet_e, fss_extended_write_parameter_verbosity_normal_e, fss_extended_write_parameter_verbosity_verbose_e, fss_extended_write_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_extended_write_parameter_verbosity_quiet_e, fss_extended_write_parameter_verbosity_error_e, fss_extended_write_parameter_verbosity_normal_e, fss_extended_write_parameter_verbosity_verbose_e, fss_extended_write_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_extended_write_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_extended_write_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_extended_write_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
@@ -552,7 +563,7 @@ extern "C" {
             funlockfile(main->error.to.stream);
           }
         }
-        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->parameters.array[fss_extended_write_parameter_file_e].result == f_console_result_none_e) {
+        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->error.verbosity != f_console_verbosity_error_e && main->parameters.array[fss_extended_write_parameter_file_e].result == f_console_result_none_e) {
 
           // Ensure there is always a newline at the end, unless in quiet mode.
           fll_print_dynamic_raw(f_string_eol_s, main->output.to.stream);
index 9b3004669bc3023cfdfdaf03722b7c91b4aadcee..eb737f7f80928562ebc1966e877c43ee26909007 100644 (file)
@@ -112,6 +112,7 @@ extern "C" {
     fss_identify_parameter_dark_e,
     fss_identify_parameter_no_color_e,
     fss_identify_parameter_verbosity_quiet_e,
+    fss_identify_parameter_verbosity_error_e,
     fss_identify_parameter_verbosity_normal_e,
     fss_identify_parameter_verbosity_verbose_e,
     fss_identify_parameter_verbosity_debug_e,
@@ -131,6 +132,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -142,7 +144,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_identify_short_total_s.string, fss_identify_long_total_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_identify_total_parameters_d 14
+  #define fss_identify_total_parameters_d 15
 #endif // _di_fss_identify_parameters_
 
 #ifdef __cplusplus
index 155954c9f44419e6ea61dced0da53b7beddf0e96..162c02a4c3df27aa1d303ca7ca1edc6456eb12ed 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -100,18 +101,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_identify_parameter_verbosity_quiet_e, fss_identify_parameter_verbosity_normal_e, fss_identify_parameter_verbosity_verbose_e, fss_identify_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_identify_parameter_verbosity_quiet_e, fss_identify_parameter_verbosity_error_e, fss_identify_parameter_verbosity_normal_e, fss_identify_parameter_verbosity_verbose_e, fss_identify_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_identify_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_identify_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_identify_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index bb7fcb52a918863f4be04d9afa7b1ba18aa857ef..4fd281130d682cacd2556fcf352cb10ad538562e 100644 (file)
@@ -184,6 +184,7 @@ extern "C" {
     fss_payload_read_parameter_dark_e,
     fss_payload_read_parameter_no_color_e,
     fss_payload_read_parameter_verbosity_quiet_e,
+    fss_payload_read_parameter_verbosity_error_e,
     fss_payload_read_parameter_verbosity_normal_e,
     fss_payload_read_parameter_verbosity_verbose_e,
     fss_payload_read_parameter_verbosity_debug_e,
@@ -212,6 +213,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, F_false, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -232,7 +234,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_payload_read_short_trim_s.string, fss_payload_read_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_payload_read_total_parameters_d 23
+  #define fss_payload_read_total_parameters_d 24
 #endif // _di_fss_payload_read_parameters_
 
 /**
index 6caf3a627d9853b4c0f66d059017caaad50b0cee..c0ffa4dd7f86ddd097fb079539e9da6d1f3be4f5 100644 (file)
@@ -28,6 +28,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -172,18 +173,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_payload_read_parameter_verbosity_quiet_e, fss_payload_read_parameter_verbosity_normal_e, fss_payload_read_parameter_verbosity_verbose_e, fss_payload_read_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_payload_read_parameter_verbosity_quiet_e, fss_payload_read_parameter_verbosity_error_e, fss_payload_read_parameter_verbosity_normal_e, fss_payload_read_parameter_verbosity_verbose_e, fss_payload_read_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_payload_read_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_payload_read_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_payload_read_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 2f2c396567f6f4b5c5f0dbc244e06e24cbe65161..63cced5584a5f492932f6aa4d9fdc4635c2f4946 100644 (file)
@@ -148,6 +148,7 @@ extern "C" {
     fss_payload_write_parameter_dark_e,
     fss_payload_write_parameter_no_color_e,
     fss_payload_write_parameter_verbosity_quiet_e,
+    fss_payload_write_parameter_verbosity_error_e,
     fss_payload_write_parameter_verbosity_normal_e,
     fss_payload_write_parameter_verbosity_verbose_e,
     fss_payload_write_parameter_verbosity_debug_e,
@@ -171,6 +172,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, F_false, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -186,7 +188,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_payload_write_short_trim_s.string, fss_payload_write_long_trim_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_payload_write_total_parameters_d 18
+  #define fss_payload_write_total_parameters_d 19
 #endif // _di_fss_payload_write_parameters_
 
 #ifdef __cplusplus
index 53a7babdf92e22061b7279fc3f07e3778e8ca621..04701d930cecc76082fc5399b964778e77ea0e8d 100644 (file)
@@ -27,6 +27,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -101,18 +102,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_payload_write_parameter_verbosity_quiet_e, fss_payload_write_parameter_verbosity_normal_e, fss_payload_write_parameter_verbosity_verbose_e, fss_payload_write_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_payload_write_parameter_verbosity_quiet_e, fss_payload_write_parameter_verbosity_error_e, fss_payload_write_parameter_verbosity_normal_e, fss_payload_write_parameter_verbosity_verbose_e, fss_payload_write_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_payload_write_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_payload_write_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_payload_write_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
@@ -496,7 +507,7 @@ extern "C" {
             funlockfile(main->error.to.stream);
           }
         }
-        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->parameters.array[fss_payload_write_parameter_file_e].result == f_console_result_none_e) {
+        else if (main->error.verbosity != f_console_verbosity_quiet_e && main->error.verbosity != f_console_verbosity_error_e && main->parameters.array[fss_payload_write_parameter_file_e].result == f_console_result_none_e) {
 
           // Ensure there is always a newline at the end, unless in quiet mode.
           fll_print_dynamic_raw(f_string_eol_s, main->output.to.stream);
index d44bf6f24d3f4428711f0f77a49c6367ded41c66..871cb97de314b255159621afd1db0d47b5fbb1a1 100644 (file)
@@ -116,6 +116,7 @@ extern "C" {
     fss_status_code_parameter_dark_e,
     fss_status_code_parameter_no_color_e,
     fss_status_code_parameter_verbosity_quiet_e,
+    fss_status_code_parameter_verbosity_error_e,
     fss_status_code_parameter_verbosity_normal_e,
     fss_status_code_parameter_verbosity_verbose_e,
     fss_status_code_parameter_verbosity_debug_e,
@@ -134,6 +135,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -144,7 +146,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(fss_status_code_short_number_s.string, fss_status_code_long_number_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define fss_status_code_total_parameters_d 13
+  #define fss_status_code_total_parameters_d 14
 #endif // _di_fss_status_code_defines_
 
 #ifdef __cplusplus
index b980d07a866abe07e0862182ba179430ec7057e9..a880d7aeaa2726929ae4f199b71cfc5cba886b0a 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -74,18 +75,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { fss_status_code_parameter_verbosity_quiet_e, fss_status_code_parameter_verbosity_normal_e, fss_status_code_parameter_verbosity_verbose_e, fss_status_code_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { fss_status_code_parameter_verbosity_quiet_e, fss_status_code_parameter_verbosity_error_e, fss_status_code_parameter_verbosity_normal_e, fss_status_code_parameter_verbosity_verbose_e, fss_status_code_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == fss_status_code_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == fss_status_code_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == fss_status_code_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index 686e734b62b3942b4d547169ca00d2b5998d70c6..5d3526c83fdf37e2460726ac825d844a32741b50 100644 (file)
@@ -155,6 +155,7 @@ extern "C" {
     iki_read_parameter_dark_e,
     iki_read_parameter_no_color_e,
     iki_read_parameter_verbosity_quiet_e,
+    iki_read_parameter_verbosity_error_e,
     iki_read_parameter_verbosity_normal_e,
     iki_read_parameter_verbosity_verbose_e,
     iki_read_parameter_verbosity_debug_e,
@@ -180,6 +181,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -197,7 +199,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(iki_read_short_wrap_s.string, iki_read_long_wrap_s.string, 0, 3, f_console_type_normal_e), \
     }
 
-  #define iki_read_total_parameters_d 20
+  #define iki_read_total_parameters_d 21
 #endif // _di_iki_read_parameters_
 
 #ifndef _di_iki_read_substitution_t_
index b3c7b11f2ec049a1867c219bb33ba2566ba3da1d..3da7f435d9629c447244ea602a0f0dd04e8c6fe3 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -142,9 +143,9 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { iki_read_parameter_verbosity_quiet_e, iki_read_parameter_verbosity_normal_e, iki_read_parameter_verbosity_verbose_e, iki_read_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { iki_read_parameter_verbosity_quiet_e, iki_read_parameter_verbosity_error_e, iki_read_parameter_verbosity_normal_e, iki_read_parameter_verbosity_verbose_e, iki_read_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
 
@@ -159,6 +160,11 @@ extern "C" {
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == iki_read_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == iki_read_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index f3cbcccbdaad26dfcec475b7990a7a176d8d1159..a8af9c52b6faf4e4a128e6ceb8efde6bca6ad89f 100644 (file)
@@ -112,6 +112,7 @@ extern "C" {
     iki_write_parameter_dark_e,
     iki_write_parameter_no_color_e,
     iki_write_parameter_verbosity_quiet_e,
+    iki_write_parameter_verbosity_error_e,
     iki_write_parameter_verbosity_normal_e,
     iki_write_parameter_verbosity_verbose_e,
     iki_write_parameter_verbosity_debug_e,
@@ -131,6 +132,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -142,7 +144,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(iki_write_short_single_s.string, iki_write_long_single_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define iki_write_total_parameters_d 14
+  #define iki_write_total_parameters_d 15
 #endif // _di_iki_write_parameters_
 
 #ifdef __cplusplus
index 0e5ce83014fcd7bf6fe1f97c246c95f233a60e10..24de7bf9e9c35a71763d81dc3d7a0a7709fe96b9 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -90,19 +91,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { iki_write_parameter_verbosity_quiet_e, iki_write_parameter_verbosity_normal_e, iki_write_parameter_verbosity_verbose_e, iki_write_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { iki_write_parameter_verbosity_quiet_e, iki_write_parameter_verbosity_error_e, iki_write_parameter_verbosity_normal_e, iki_write_parameter_verbosity_verbose_e, iki_write_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
 
-      if (F_status_is_error(status)) return status;
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == iki_write_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == iki_write_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == iki_write_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
@@ -436,7 +446,7 @@ extern "C" {
         } // for
 
         // Ensure there is always a new line at the end, unless in quiet mode.
-        if (F_status_is_error_not(status) && main->error.verbosity != f_console_verbosity_quiet_e && main->parameters.array[iki_write_parameter_file_e].result == f_console_result_none_e) {
+        if (F_status_is_error_not(status) && main->error.verbosity != f_console_verbosity_quiet_e && main->error.verbosity != f_console_verbosity_error_e && main->parameters.array[iki_write_parameter_file_e].result == f_console_result_none_e) {
           fll_print_dynamic_raw(f_string_eol_s, file.stream);
         }
       }
index 801c88a0132188b46beec1d1ed7642fcd03f825f..5d1970efe1fe50280b06d615a740d0546beb6d40 100644 (file)
@@ -116,6 +116,7 @@ extern "C" {
     status_code_parameter_dark_e,
     status_code_parameter_no_color_e,
     status_code_parameter_verbosity_quiet_e,
+    status_code_parameter_verbosity_error_e,
     status_code_parameter_verbosity_normal_e,
     status_code_parameter_verbosity_verbose_e,
     status_code_parameter_verbosity_debug_e,
@@ -134,6 +135,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -144,7 +146,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(status_code_short_number_s.string, status_code_long_number_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define status_code_total_parameters_d 13
+  #define status_code_total_parameters_d 14
 #endif // _di_status_code_parameters_
 
 #ifdef __cplusplus
index ac1ad8ed1eba14501fcae689b49b361240eb1e17..8c5ee203eb1042c3351e16d9fdd6f4effaa4a028 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -74,18 +75,28 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { status_code_parameter_verbosity_quiet_e, status_code_parameter_verbosity_normal_e, status_code_parameter_verbosity_verbose_e, status_code_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { status_code_parameter_verbosity_quiet_e, status_code_parameter_verbosity_error_e, status_code_parameter_verbosity_normal_e, status_code_parameter_verbosity_verbose_e, status_code_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
-      if (F_status_is_error(status)) return status;
+
+      if (F_status_is_error(status)) {
+        fll_error_print(main->error, F_status_set_fine(status), "f_console_parameter_prioritize_right", F_true);
+
+        return status;
+      }
 
       if (choice == status_code_parameter_verbosity_quiet_e) {
         main->output.verbosity = f_console_verbosity_quiet_e;
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == status_code_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == status_code_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
index ffe4a8c67f098b5afe6dadc45916166b18db51a1..224c4ca40f8fd68d491534f726da0c028a1dfe46 100644 (file)
@@ -243,6 +243,7 @@ extern "C" {
     utf8_parameter_dark_e,
     utf8_parameter_no_color_e,
     utf8_parameter_verbosity_quiet_e,
+    utf8_parameter_verbosity_error_e,
     utf8_parameter_verbosity_normal_e,
     utf8_parameter_verbosity_verbose_e,
     utf8_parameter_verbosity_debug_e,
@@ -272,6 +273,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(f_console_standard_short_dark_s.string, f_console_standard_long_dark_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_no_color_s.string, f_console_standard_long_no_color_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_quiet_s.string, f_console_standard_long_quiet_s.string, 0, 0, f_console_type_inverse_e), \
+      macro_f_console_parameter_t_initialize(f_console_standard_short_error_s.string, f_console_standard_long_error_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_normal_s.string, f_console_standard_long_normal_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_verbose_s.string, f_console_standard_long_verbose_s.string, 0, 0, f_console_type_inverse_e), \
       macro_f_console_parameter_t_initialize(f_console_standard_short_debug_s.string, f_console_standard_long_debug_s.string, 0, 0, f_console_type_inverse_e), \
@@ -290,7 +292,7 @@ extern "C" {
       macro_f_console_parameter_t_initialize(utf8_short_verify_s.string, utf8_long_verify_s.string, 0, 0, f_console_type_normal_e), \
     }
 
-  #define utf8_total_parameters_d 21
+  #define utf8_total_parameters_d 22
 #endif // _di_utf8_parameters_
 
 /**
index 0855b57cd92e48a4e4f510cff79b0326f16b8f01..7606f1ef78b384efb37db284365aa9012251c3b7 100644 (file)
@@ -21,6 +21,7 @@ extern "C" {
     fll_program_print_help_option(file, context, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Output using colors that show up better on light backgrounds.");
     fll_program_print_help_option(file, context, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "Do not print using color.");
     fll_program_print_help_option(file, context, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, silencing most output.");
+    fll_program_print_help_option(file, context, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Decrease verbosity, using only error output.");
     fll_program_print_help_option(file, context, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "  Set verbosity to normal.");
     fll_program_print_help_option(file, context, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Increase verbosity beyond normal output.");
     fll_program_print_help_option(file, context, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, "   Enable debugging, significantly increasing verbosity beyond normal output.");
@@ -112,9 +113,9 @@ extern "C" {
 
     // Identify priority of verbosity related parameters.
     {
-      f_console_parameter_id_t ids[4] = { utf8_parameter_verbosity_quiet_e, utf8_parameter_verbosity_normal_e, utf8_parameter_verbosity_verbose_e, utf8_parameter_verbosity_debug_e };
+      f_console_parameter_id_t ids[5] = { utf8_parameter_verbosity_quiet_e, utf8_parameter_verbosity_error_e, utf8_parameter_verbosity_normal_e, utf8_parameter_verbosity_verbose_e, utf8_parameter_verbosity_debug_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
 
@@ -131,6 +132,11 @@ extern "C" {
         main->error.verbosity = f_console_verbosity_quiet_e;
         main->warning.verbosity = f_console_verbosity_quiet_e;
       }
+      else if (choice == utf8_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
       else if (choice == utf8_parameter_verbosity_normal_e) {
         main->output.verbosity = f_console_verbosity_normal_e;
         main->error.verbosity = f_console_verbosity_normal_e;
@@ -182,9 +188,9 @@ extern "C" {
 
     // Identify and prioritize to mode parameters.
     {
-      f_console_parameter_id_t ids[4] = { utf8_parameter_to_bytesequence_e, utf8_parameter_to_codepoint_e, utf8_parameter_to_combining_e, utf8_parameter_to_width_e };
+      f_console_parameter_id_t ids[5] = { utf8_parameter_to_bytesequence_e, utf8_parameter_to_codepoint_e, utf8_parameter_to_combining_e, utf8_parameter_to_width_e };
       f_console_parameter_id_t choice = 0;
-      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 4);
+      const f_console_parameter_ids_t choices = macro_f_console_parameter_ids_t_initialize(ids, 5);
 
       status = f_console_parameter_prioritize_right(main->parameters, choices, &choice);
 
@@ -196,6 +202,32 @@ extern "C" {
         return status;
       }
 
+      if (choice == utf8_parameter_verbosity_quiet_e) {
+        main->output.verbosity = f_console_verbosity_quiet_e;
+        main->error.verbosity = f_console_verbosity_quiet_e;
+        main->warning.verbosity = f_console_verbosity_quiet_e;
+      }
+      else if (choice == utf8_parameter_verbosity_error_e) {
+        main->output.verbosity = f_console_verbosity_error_e;
+        main->error.verbosity = f_console_verbosity_error_e;
+        main->warning.verbosity = f_console_verbosity_error_e;
+      }
+      else if (choice == utf8_parameter_verbosity_normal_e) {
+        main->output.verbosity = f_console_verbosity_normal_e;
+        main->error.verbosity = f_console_verbosity_normal_e;
+        main->warning.verbosity = f_console_verbosity_normal_e;
+      }
+      else if (choice == utf8_parameter_verbosity_verbose_e) {
+        main->output.verbosity = f_console_verbosity_verbose_e;
+        main->error.verbosity = f_console_verbosity_verbose_e;
+        main->warning.verbosity = f_console_verbosity_verbose_e;
+      }
+      else if (choice == utf8_parameter_verbosity_debug_e) {
+        main->output.verbosity = f_console_verbosity_debug_e;
+        main->error.verbosity = f_console_verbosity_debug_e;
+        main->warning.verbosity = f_console_verbosity_debug_e;
+      }
+
       if (choice == utf8_parameter_to_bytesequence_e) {
         if (data.mode & utf8_mode_to_codepoint_d) {
           data.mode -= utf8_mode_to_codepoint_d;