From: Kevin Day Date: Tue, 6 Dec 2022 04:15:02 +0000 (-0600) Subject: Cleanup: Use file parameter is not in alphabetic ordering. X-Git-Tag: 0.6.2~59 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=382b5424c11887f09a150af02a61531e14dd2691;p=fll Cleanup: Use file parameter is not in alphabetic ordering. --- diff --git a/level_3/iki_write/c/common.c b/level_3/iki_write/c/common.c index 95d8b88..c9e6d7b 100644 --- a/level_3/iki_write/c/common.c +++ b/level_3/iki_write/c/common.c @@ -14,15 +14,15 @@ extern "C" { #endif // _di_iki_write_program_name_ #ifndef _di_iki_write_parameters_ - const f_string_static_t iki_write_short_file_s = macro_f_string_static_t_initialize(IKI_WRITE_short_file_s, 0, IKI_WRITE_short_file_s_length); const f_string_static_t iki_write_short_content_s = macro_f_string_static_t_initialize(IKI_WRITE_short_content_s, 0, IKI_WRITE_short_content_s_length); const f_string_static_t iki_write_short_double_s = macro_f_string_static_t_initialize(IKI_WRITE_short_double_s, 0, IKI_WRITE_short_double_s_length); + const f_string_static_t iki_write_short_file_s = macro_f_string_static_t_initialize(IKI_WRITE_short_file_s, 0, IKI_WRITE_short_file_s_length); const f_string_static_t iki_write_short_object_s = macro_f_string_static_t_initialize(IKI_WRITE_short_object_s, 0, IKI_WRITE_short_object_s_length); const f_string_static_t iki_write_short_single_s = macro_f_string_static_t_initialize(IKI_WRITE_short_single_s, 0, IKI_WRITE_short_single_s_length); - const f_string_static_t iki_write_long_file_s = macro_f_string_static_t_initialize(IKI_WRITE_long_file_s, 0, IKI_WRITE_long_file_s_length); const f_string_static_t iki_write_long_content_s = macro_f_string_static_t_initialize(IKI_WRITE_long_content_s, 0, IKI_WRITE_long_content_s_length); const f_string_static_t iki_write_long_double_s = macro_f_string_static_t_initialize(IKI_WRITE_long_double_s, 0, IKI_WRITE_long_double_s_length); + const f_string_static_t iki_write_long_file_s = macro_f_string_static_t_initialize(IKI_WRITE_long_file_s, 0, IKI_WRITE_long_file_s_length); const f_string_static_t iki_write_long_object_s = macro_f_string_static_t_initialize(IKI_WRITE_long_object_s, 0, IKI_WRITE_long_object_s_length); const f_string_static_t iki_write_long_single_s = macro_f_string_static_t_initialize(IKI_WRITE_long_single_s, 0, IKI_WRITE_long_single_s_length); #endif // _di_iki_write_parameters_ diff --git a/level_3/iki_write/c/common.h b/level_3/iki_write/c/common.h index 2f018b2..5ae66cb 100644 --- a/level_3/iki_write/c/common.h +++ b/level_3/iki_write/c/common.h @@ -70,39 +70,39 @@ extern "C" { * The main program parameters. */ #ifndef _di_iki_write_parameters_ - #define IKI_WRITE_short_file_s "f" #define IKI_WRITE_short_content_s "c" #define IKI_WRITE_short_double_s "d" + #define IKI_WRITE_short_file_s "f" #define IKI_WRITE_short_object_s "o" #define IKI_WRITE_short_single_s "s" - #define IKI_WRITE_long_file_s "file" #define IKI_WRITE_long_content_s "content" #define IKI_WRITE_long_double_s "double" + #define IKI_WRITE_long_file_s "file" #define IKI_WRITE_long_object_s "object" #define IKI_WRITE_long_single_s "single" - #define IKI_WRITE_short_file_s_length 1 #define IKI_WRITE_short_content_s_length 1 #define IKI_WRITE_short_double_s_length 1 + #define IKI_WRITE_short_file_s_length 1 #define IKI_WRITE_short_object_s_length 1 #define IKI_WRITE_short_single_s_length 1 - #define IKI_WRITE_long_file_s_length 4 #define IKI_WRITE_long_content_s_length 7 #define IKI_WRITE_long_double_s_length 6 + #define IKI_WRITE_long_file_s_length 4 #define IKI_WRITE_long_object_s_length 6 #define IKI_WRITE_long_single_s_length 6 - extern const f_string_static_t iki_write_short_file_s; extern const f_string_static_t iki_write_short_content_s; extern const f_string_static_t iki_write_short_double_s; + extern const f_string_static_t iki_write_short_file_s; extern const f_string_static_t iki_write_short_object_s; extern const f_string_static_t iki_write_short_single_s; - extern const f_string_static_t iki_write_long_file_s; extern const f_string_static_t iki_write_long_content_s; extern const f_string_static_t iki_write_long_double_s; + extern const f_string_static_t iki_write_long_file_s; extern const f_string_static_t iki_write_long_object_s; extern const f_string_static_t iki_write_long_single_s; @@ -118,9 +118,9 @@ extern "C" { iki_write_parameter_verbosity_debug_e, iki_write_parameter_version_e, - iki_write_parameter_file_e, iki_write_parameter_content_e, iki_write_parameter_double_e, + iki_write_parameter_file_e, iki_write_parameter_object_e, iki_write_parameter_single_e, }; @@ -137,9 +137,9 @@ extern "C" { 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), \ macro_f_console_parameter_t_initialize(f_console_standard_short_version_s.string, f_console_standard_long_version_s.string, 0, 0, f_console_type_inverse_e), \ - macro_f_console_parameter_t_initialize(iki_write_short_file_s.string, iki_write_long_file_s.string, 0, 1, f_console_type_normal_e), \ macro_f_console_parameter_t_initialize(iki_write_short_content_s.string, iki_write_long_content_s.string, 0, 1, f_console_type_normal_e), \ macro_f_console_parameter_t_initialize(iki_write_short_double_s.string, iki_write_long_double_s.string, 0, 0, f_console_type_normal_e), \ + macro_f_console_parameter_t_initialize(iki_write_short_file_s.string, iki_write_long_file_s.string, 0, 1, f_console_type_normal_e), \ macro_f_console_parameter_t_initialize(iki_write_short_object_s.string, iki_write_long_object_s.string, 0, 1, f_console_type_normal_e), \ 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), \ } diff --git a/level_3/iki_write/c/iki_write.c b/level_3/iki_write/c/iki_write.c index 24de7bf..c108f71 100644 --- a/level_3/iki_write/c/iki_write.c +++ b/level_3/iki_write/c/iki_write.c @@ -26,9 +26,9 @@ extern "C" { f_print_dynamic_raw(f_string_eol_s, file.stream); - fll_program_print_help_option(file, context, iki_write_short_file_s, iki_write_long_file_s, f_console_symbol_short_enable_s, f_console_symbol_long_enable_s, " Specify a file to send data to."); fll_program_print_help_option(file, context, iki_write_short_content_s, iki_write_long_content_s, f_console_symbol_short_enable_s, f_console_symbol_long_enable_s, "The Content to write."); fll_program_print_help_option(file, context, iki_write_short_double_s, iki_write_long_double_s, f_console_symbol_short_enable_s, f_console_symbol_long_enable_s, " Use double quotes (default)."); + fll_program_print_help_option(file, context, iki_write_short_file_s, iki_write_long_file_s, f_console_symbol_short_enable_s, f_console_symbol_long_enable_s, " Specify a file to send data to."); fll_program_print_help_option(file, context, iki_write_short_object_s, iki_write_long_object_s, f_console_symbol_short_enable_s, f_console_symbol_long_enable_s, " The Object to write."); fll_program_print_help_option(file, context, iki_write_short_single_s, iki_write_long_single_s, f_console_symbol_short_enable_s, f_console_symbol_long_enable_s, " Use single quotes.");