At some point the FSS read functions were not designed to allow -o and -c at the same time.
This is no longer necessary.
Remove the checks and the code appears to work as expected.
status = F_status_set_error(F_parameter);
}
- if (F_status_is_error_not(status) && data->parameters[fss_basic_list_read_parameter_object].result == f_console_result_found) {
- if (data->parameters[fss_basic_list_read_parameter_line].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_list_read_long_line);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (F_status_is_error_not(status) && data->parameters[fss_basic_list_read_parameter_select].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_list_read_long_select);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (data->parameters[fss_basic_list_read_parameter_content].result == f_console_result_found) {
- if (F_status_is_error_not(status) && data->parameters[fss_basic_list_read_parameter_total].result == f_console_result_found) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify both the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' and the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_list_read_long_content);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_list_read_long_total);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
- }
- }
-
if (F_status_is_error_not(status) && data->parameters[fss_basic_list_read_parameter_line].result == f_console_result_additional) {
if (data->parameters[fss_basic_list_read_parameter_total].result == f_console_result_found) {
f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
status = F_status_set_error(F_parameter);
}
- if (data->parameters[fss_basic_read_parameter_object].result == f_console_result_found) {
- if (F_status_is_error_not(status) && data->parameters[fss_basic_read_parameter_line].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_read_long_line);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.");
-
- status = F_status_set_error(F_parameter);
- }
-
- if (F_status_is_error_not(status) && data->parameters[fss_basic_read_parameter_select].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_read_long_select);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (data->parameters[fss_basic_read_parameter_content].result == f_console_result_found) {
- if (F_status_is_error_not(status) && data->parameters[fss_basic_read_parameter_total].result == f_console_result_found) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify both the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' and the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_read_long_content);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_basic_read_long_total);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
- }
- }
-
if (data->parameters[fss_basic_read_parameter_line].result == f_console_result_additional) {
if (F_status_is_error_not(status) && data->parameters[fss_basic_read_parameter_total].result == f_console_result_found) {
f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
status = F_status_set_error(F_parameter);
}
- if (data->parameters[fss_embedded_list_read_parameter_object].result == f_console_result_found) {
- if (F_status_is_error_not(status) && data->parameters[fss_embedded_list_read_parameter_line].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_embedded_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_embedded_list_read_long_line);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (F_status_is_error_not(status) && data->parameters[fss_embedded_list_read_parameter_select].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_embedded_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_embedded_list_read_long_select);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (data->parameters[fss_embedded_list_read_parameter_content].result == f_console_result_found) {
- if (F_status_is_error_not(status) && data->parameters[fss_embedded_list_read_parameter_total].result == f_console_result_found) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify both the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_embedded_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' and the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_embedded_list_read_long_content);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_embedded_list_read_long_total);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
- }
- }
-
if (data->parameters[fss_embedded_list_read_parameter_line].result == f_console_result_additional) {
if (F_status_is_error_not(status) && data->parameters[fss_embedded_list_read_parameter_total].result == f_console_result_found) {
f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
status = F_status_set_error(F_parameter);
}
- if (F_status_is_error_not(status) && data->parameters[fss_extended_list_read_parameter_object].result == f_console_result_found) {
- if (data->parameters[fss_extended_list_read_parameter_line].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_list_read_long_line);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (F_status_is_error_not(status) && data->parameters[fss_extended_list_read_parameter_select].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_list_read_long_select);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (data->parameters[fss_extended_list_read_parameter_content].result == f_console_result_found) {
- if (F_status_is_error_not(status) && data->parameters[fss_extended_list_read_parameter_total].result == f_console_result_found) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify both the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_list_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' and the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_list_read_long_content);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_list_read_long_total);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
- }
- }
-
if (F_status_is_error_not(status) && data->parameters[fss_extended_list_read_parameter_line].result == f_console_result_additional) {
if (data->parameters[fss_extended_list_read_parameter_total].result == f_console_result_found) {
f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
status = F_status_set_error(F_parameter);
}
- if (data->parameters[fss_extended_read_parameter_object].result == f_console_result_found) {
- if (F_status_is_error_not(status) && data->parameters[fss_extended_read_parameter_line].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_read_long_line);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (F_status_is_error_not(status) && data->parameters[fss_extended_read_parameter_select].result == f_console_result_additional) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_read_long_select);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
-
- if (data->parameters[fss_extended_read_parameter_content].result == f_console_result_found) {
- if (F_status_is_error_not(status) && data->parameters[fss_extended_read_parameter_total].result == f_console_result_found) {
- f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify both the '", fll_error_print_error);
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_read_long_object);
- f_color_print(data->error.to.stream, data->context.set.error, "' and the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_read_long_content);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter with the '");
- f_color_print(data->error.to.stream, data->context.set.notable, "%s%s", f_console_symbol_long_enable_s, fss_extended_read_long_total);
- f_color_print(data->error.to.stream, data->context.set.error, "' parameter.%c", f_string_eol_s[0]);
-
- status = F_status_set_error(F_parameter);
- }
- }
- }
-
if (data->parameters[fss_extended_read_parameter_line].result == f_console_result_additional) {
if (F_status_is_error_not(status) && data->parameters[fss_extended_read_parameter_total].result == f_console_result_found) {
f_color_print(data->error.to.stream, data->context.set.error, "%sCannot specify the '", fll_error_print_error);