From: Kevin Day Date: Sun, 28 May 2023 04:08:45 +0000 (-0500) Subject: Update: Make fss_read and fss_write --as consistent and fix spacing in help. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=2ab105afdc27d3ac88678273bb7499e2fc3810e3;p=fll Update: Make fss_read and fss_write --as consistent and fix spacing in help. 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. --- diff --git a/level_3/fss_read/c/main/main/print.c b/level_3/fss_read/c/main/main/print.c index 8165784..48b6e2b 100644 --- a/level_3/fss_read/c/main/main/print.c +++ b/level_3/fss_read/c/main/main/print.c @@ -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); diff --git a/level_3/fss_write/c/main/common/string.h b/level_3/fss_write/c/main/common/string.h index ef293ee..81a2d4b 100644 --- a/level_3/fss_write/c/main/common/string.h +++ b/level_3/fss_write/c/main/common/string.h @@ -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" diff --git a/level_3/fss_write/c/main/main/print.c b/level_3/fss_write/c/main/main/print.c index b13eb79..dfc3afc 100644 --- a/level_3/fss_write/c/main/main/print.c +++ b/level_3/fss_write/c/main/main/print.c @@ -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);