]> 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 8165784..48b6e2b 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 ef293ee..81a2d4b 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 b13eb79..dfc3afc 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);