]> Kevux Git Server - fll/commitdiff
Update: Make fss_read and fss_write --as consistent and fix spacing in help.
authorKevin Day <kevin@kevux.org>
Sun, 28 May 2023 04:08:45 +0000 (23:08 -0500)
committerKevin Day <kevin@kevux.org>
Sun, 28 May 2023 04:08:45 +0000 (23:08 -0500)
The fss_read is using -a already and instead uses -A for the --as.
Change fss_write to also use -A for consistency reasons.

Fix spacing alignment in printed help for the --as parameter.

level_3/fss_read/c/main/main/print.c
level_3/fss_write/c/main/common/string.h
level_3/fss_write/c/main/main/print.c

index 816578452a4b21736777accc90f819bcf9710c40..48b6e2b786f7ac89693d33d45c3608cf8fe6ed43 100644 (file)
@@ -42,7 +42,7 @@ extern "C" {
 
     fss_read_print_message_help(print);
 
-    fll_program_print_help_option(print, fss_read_short_as_s, fss_read_long_as_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, "Designate the supported format to read as.");
+    fll_program_print_help_option(print, fss_read_short_as_s, fss_read_long_as_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, "      Designate the supported format to read as.");
 
     f_print_dynamic_raw(f_string_eol_s, print->to);
 
index ef293eeba9da4706375165fa7d7df6a99426d81b..81a2d4baa675ca37945091ba5a61d2fd6418f41b 100644 (file)
@@ -103,7 +103,7 @@ extern "C" {
  * The main program parameters.
  */
 #ifndef _di_fss_write_parameter_s_
-  #define FSS_WRITE_short_as_s           "a"
+  #define FSS_WRITE_short_as_s           "A"
   #define FSS_WRITE_short_backtick_s     "b"
   #define FSS_WRITE_short_content_s      "c"
   #define FSS_WRITE_short_content_end_s  "E"
index b13eb792e89d16c84f35e41257bfe8807f12f26e..dfc3afceac78a5d630520ccde38cb2d21006d33f 100644 (file)
@@ -42,7 +42,7 @@ extern "C" {
 
     fss_write_print_message_help(print);
 
-    fll_program_print_help_option(print, fss_write_short_as_s, fss_write_long_as_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, "Designate the supported format to write as.");
+    fll_program_print_help_option(print, fss_write_short_as_s, fss_write_long_as_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, "          Designate the supported format to write as.");
 
     f_print_dynamic_raw(f_string_eol_s, print->to);