]> Kevux Git Server - fll/commitdiff
Cleanup: Use file parameter is not in alphabetic ordering.
authorKevin Day <thekevinday@gmail.com>
Tue, 6 Dec 2022 04:15:02 +0000 (22:15 -0600)
committerKevin Day <thekevinday@gmail.com>
Tue, 6 Dec 2022 04:15:02 +0000 (22:15 -0600)
level_3/iki_write/c/common.c
level_3/iki_write/c/common.h
level_3/iki_write/c/iki_write.c

index 95d8b88437f4f7d63212ae7b42c6d63f5956612f..c9e6d7b790b425e95a8bc99ccb33c313df083c5a 100644 (file)
@@ -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_
index 2f018b2e00b2ed895b2f56db56b78a37feaad505..5ae66cbcd02dbc1500692d2fa9c8b1835bcbd407 100644 (file)
@@ -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), \
     }
index 24de7bf9e9c35a71763d81dc3d7a0a7709fe96b9..c108f71642789988eee51b164fa54cf54ead8235 100644 (file)
@@ -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.");