There is an "error" and a "warning" but no "success".
Make this complete by adding "success".
The programs aren't initializing the "set".
Attempting to use these always results in no color context.
Fix this by initializing these in each program.
The output context also needs to be initialized just like the error and warning.
extern "C" {
#endif
+/**
+ * Color max size represents the maximum length of the resulting color string.
+ *
+ * This color max size does not include the terminating null.
+ *
+ * A color max size terminated represents the max size with the terminating null.
+ */
#ifndef _di_f_color_max_size_
- #define F_color_max_size_d 7
+ #define F_color_max_size_d 7
+ #define F_color_max_size_terminated_d 8
#endif // _di_f_color_max_size_
#ifndef _di_f_color_types_t_
* notable: Color context associated with "notable".
* important: Color context associated with "important".
* standout: Color context associated with "standout".
+ * success: Color context associated with "success".
* normal: Color context associated with "normal".
* normal_reset: Color context associated with "normal_reset".
*/
f_color_set_t notable;
f_color_set_t important;
f_color_set_t standout;
+ f_color_set_t success;
f_color_set_t normal;
f_color_set_t normal_reset;
} f_color_set_context_t;
- #define f_color_set_context_t_initialize { f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize }
+ #define f_color_set_context_t_initialize { f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize, f_color_set_t_initialize }
- #define macro_f_color_set_context_t_initialize(warning, error, title, notable, important, standout, normal, normal_reset) { warning, error, title, notable, important, standout, normal, normal_reset }
+ #define macro_f_color_set_context_t_initialize(warning, error, title, notable, important, standout, success, normal, normal_reset) { warning, error, title, notable, important, standout, success, normal, normal_reset }
#define macro_f_color_set_context_t_clear(set) \
macro_f_color_set_t_clear(set.warning) \
macro_f_color_set_t_clear(set.notable) \
macro_f_color_set_t_clear(set.important) \
macro_f_color_set_t_clear(set.standout) \
+ macro_f_color_set_t_clear(set.success) \
macro_f_color_set_t_clear(set.normal) \
macro_f_color_set_t_clear(set.normal_reset)
* notable: Color context associated with "notable".
* important: Color context associated with "important".
* standout: Color context associated with "standout".
+ * success: Color context associated with "success".
* normal: Color context associated with "normal".
* normal_reset: Color context associated with "normal_reset".
*/
f_string_dynamic_t notable;
f_string_dynamic_t important;
f_string_dynamic_t standout;
+ f_string_dynamic_t success;
f_string_dynamic_t normal;
f_string_dynamic_t normal_reset;
} f_color_context_t;
- #define f_color_context_t_initialize { f_color_t_initialize_linux, f_color_format_t_initialize_linux, F_color_mode_none_d, f_color_set_context_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize }
+ #define f_color_context_t_initialize { f_color_t_initialize_linux, f_color_format_t_initialize_linux, F_color_mode_none_d, f_color_set_context_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize, f_string_dynamic_t_initialize }
#define macro_f_color_context_t_clear(context) \
macro_f_color_t_clear(context.list) \
macro_f_string_dynamic_t_clear(context.notable) \
macro_f_string_dynamic_t_clear(context.important) \
macro_f_string_dynamic_t_clear(context.standout) \
+ macro_f_string_dynamic_t_clear(context.success) \
macro_f_string_dynamic_t_clear(context.normal) \
macro_f_string_dynamic_t_clear(context.normal_reset)
#define macro_f_color_context_t_new(status, context) \
- macro_f_string_dynamic_t_resize(status, context.reset, F_color_max_size_d + 1) \
- if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.warning, F_color_max_size_d + 1) \
- if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.error, F_color_max_size_d + 1) \
- if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.title, F_color_max_size_d + 1) \
- if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.notable, F_color_max_size_d + 1) \
- if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.important, F_color_max_size_d + 1) \
- if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.standout, F_color_max_size_d + 1) \
- if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.normal, F_color_max_size_d + 1) \
- if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.normal_reset, F_color_max_size_d + 1)
+ macro_f_string_dynamic_t_resize(status, context.reset, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.warning, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.error, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.title, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.notable, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.important, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.standout, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.success, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.normal, F_color_max_size_terminated_d) \
+ if (F_status_is_error_not(status)) macro_f_string_dynamic_t_resize(status, context.normal_reset, F_color_max_size_terminated_d)
#define macro_f_color_context_t_delete_simple(context) \
macro_f_string_dynamic_t_delete_simple(context.reset) \
macro_f_string_dynamic_t_delete_simple(context.notable) \
macro_f_string_dynamic_t_delete_simple(context.important) \
macro_f_string_dynamic_t_delete_simple(context.standout) \
+ macro_f_string_dynamic_t_delete_simple(context.success) \
macro_f_string_dynamic_t_delete_simple(context.normal) \
macro_f_string_dynamic_t_delete_simple(context.normal_reset) \
macro_f_color_context_t_clear(context)
macro_f_string_dynamic_t_destroy_simple(context.notable, size) \
macro_f_string_dynamic_t_destroy_simple(context.important, size) \
macro_f_string_dynamic_t_destroy_simple(context.standout, size) \
+ macro_f_string_dynamic_t_destroy_simple(context.success, size) \
macro_f_string_dynamic_t_destroy_simple(context.normal) \
macro_f_string_dynamic_t_destroy_simple(context.normal_reset) \
macro_f_color_context_t_clear(context)
}
if (F_status_is_error_not(status)) {
- status = macro_fl_color_save_1(&context->notable, context->format, context->list.bold);
+ status = macro_fl_color_save_2(&context->success, context->format, context->list.bold, context->list.green);
}
if (F_status_is_error_not(status)) {
- status = macro_fl_color_save_1(&context->standout, context->format, context->list.purple);
+ status = macro_fl_color_save_1(&context->notable, context->format, context->list.bold);
}
if (use_light_colors) {
}
if (F_status_is_error_not(status)) {
- context->mode = F_color_mode_light_d;
+ status = macro_fl_color_save_1(&context->standout, context->format, context->list.purple);
}
if (F_status_is_error_not(status)) {
- status = macro_fl_color_save_1(&context->standout, context->format, context->list.purple);
+ context->mode = F_color_mode_light_d;
}
}
else {
}
if (F_status_is_error_not(status)) {
- context->mode = F_color_mode_dark_d;
+ status = macro_fl_color_save_1(&context->standout, context->format, context->list.green);
}
if (F_status_is_error_not(status)) {
- status = macro_fl_color_save_1(&context->standout, context->format, context->list.green);
+ context->mode = F_color_mode_dark_d;
}
}
context->set.standout.before = &context->standout;
context->set.standout.after = &context->reset;
+ context->set.success.before = &context->success;
+ context->set.success.after = &context->reset;
+
context->set.normal.before = &context->normal;
context->set.normal.after = &context->reset;
*
* Errors (with error bit) from: macro_f_string_dynamics_t_resize().
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see macro_f_string_dynamics_t_resize()
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
*/
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
*/
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
*/
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
*/
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
*/
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
*/
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
*/
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
*/
* Errors (with error bit) from: f_thread_signal_mask().
* Errors (with error bit) from: fl_environment_path_explode_dynamic().
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate_after().
*
* @see close()
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
* @see fll_execute_arguments_add()
* F_none on success.
*
* Errors (with error bit) from: f_string_append().
- * Errors (with error bit) from: f_string_dynamic_delete().
+ * Errors (with error bit) from: f_string_dynamic_resize().
* Errors (with error bit) from: f_string_dynamic_terminate().
* Errors (with error bit) from: f_string_dynamics_increase().
*
* @see f_string_append()
- * @see f_string_dynamic_delete()
+ * @see f_string_dynamic_resize()
* @see f_string_dynamic_terminate()
* @see f_string_dynamics_increase()
* @see fll_execute_arguments_add_parameter()
context->set.notable = f_color_set_empty_s;
context->set.important = f_color_set_empty_s;
context->set.standout = f_color_set_empty_s;
+ context->set.success = f_color_set_empty_s;
context->set.normal = f_color_set_empty_s;
context->set.normal_reset = f_color_set_empty_s;
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(*arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(*arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(*arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(*arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}
status = fll_program_parameter_process(arguments, parameters, choices, F_true, &main->remaining, &main->context);
+ main->output.set = &main->context.set;
+ main->error.set = &main->context.set;
+ main->warning.set = &main->context.set;
+
if (main->context.set.error.before) {
+ main->output.context = f_color_set_empty_s;
+ main->output.notable = main->context.set.notable;
+
main->error.context = main->context.set.error;
main->error.notable = main->context.set.notable;
main->warning.notable = main->context.set.notable;
}
else {
- f_color_set_t *sets[] = { &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
+ f_color_set_t *sets[] = { &main->output.context, &main->output.notable, &main->error.context, &main->error.notable, &main->warning.context, &main->warning.notable, 0 };
fll_program_parameter_process_empty(&main->context, sets);
}