From: Kevin Day Date: Sun, 17 Jun 2012 23:12:11 +0000 (-0500) Subject: Update: use +v and ++version instead of -v and --version X-Git-Tag: 0.3.0~4 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=4ae888ec09bdeb167044e324aa2dc5e9a6adb4b0;p=fll Update: use +v and ++version instead of -v and --version Use of -v and --version is less common than -h and --help. Instead, use +v and ++version to free up -v for other purposes like --verbose. --- diff --git a/level_3/firewall/c/firewall.c b/level_3/firewall/c/firewall.c index 0ecbc8c..c1ddb2e 100644 --- a/level_3/firewall/c/firewall.c +++ b/level_3/firewall/c/firewall.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/firewall/c/firewall.h b/level_3/firewall/c/firewall.h index 2064fa6..7940887 100644 --- a/level_3/firewall/c/firewall.h +++ b/level_3/firewall/c/firewall.h @@ -251,7 +251,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(0, 0, 0, firewall_command_start, f_false, f_console_type_other, firewall_command_start_length), \ f_console_parameter_initialize(0, 0, 0, firewall_command_stop, f_false, f_console_type_other, firewall_command_stop_length), \ f_console_parameter_initialize(0, 0, 0, firewall_command_restart, f_false, f_console_type_other, firewall_command_restart_length), \ diff --git a/level_3/fss_basic_list_read/c/fss_basic_list_read.c b/level_3/fss_basic_list_read/c/fss_basic_list_read.c index 401fd1d..1921f1f 100644 --- a/level_3/fss_basic_list_read/c/fss_basic_list_read.c +++ b/level_3/fss_basic_list_read/c/fss_basic_list_read.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/fss_basic_list_read/c/fss_basic_list_read.h b/level_3/fss_basic_list_read/c/fss_basic_list_read.h index a4cfa36..519ecc9 100644 --- a/level_3/fss_basic_list_read/c/fss_basic_list_read.h +++ b/level_3/fss_basic_list_read/c/fss_basic_list_read.h @@ -87,7 +87,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(fss_basic_list_read_short_name, fss_basic_list_read_long_name, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_basic_list_read_short_count, fss_basic_list_read_long_count, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_basic_list_read_short_total, fss_basic_list_read_long_total, 0, 0, f_false, f_console_type_normal, 0), \ diff --git a/level_3/fss_basic_list_write/c/fss_basic_list_write.c b/level_3/fss_basic_list_write/c/fss_basic_list_write.c index 70fcb8c..d974cb2 100644 --- a/level_3/fss_basic_list_write/c/fss_basic_list_write.c +++ b/level_3/fss_basic_list_write/c/fss_basic_list_write.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/fss_basic_list_write/c/fss_basic_list_write.h b/level_3/fss_basic_list_write/c/fss_basic_list_write.h index e208e93..dcba9c2 100644 --- a/level_3/fss_basic_list_write/c/fss_basic_list_write.h +++ b/level_3/fss_basic_list_write/c/fss_basic_list_write.h @@ -72,7 +72,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(fss_basic_list_write_short_object, fss_basic_list_write_long_object, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_basic_list_write_short_file, fss_basic_list_write_long_file, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_basic_list_write_short_string, fss_basic_list_write_long_string, 0, 0, f_true, f_console_type_normal, 0), \ diff --git a/level_3/fss_basic_read/c/fss_basic_read.c b/level_3/fss_basic_read/c/fss_basic_read.c index 0ea9600..98d2f67 100644 --- a/level_3/fss_basic_read/c/fss_basic_read.c +++ b/level_3/fss_basic_read/c/fss_basic_read.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/fss_basic_read/c/fss_basic_read.h b/level_3/fss_basic_read/c/fss_basic_read.h index 50deb22..030cfe3 100644 --- a/level_3/fss_basic_read/c/fss_basic_read.h +++ b/level_3/fss_basic_read/c/fss_basic_read.h @@ -81,7 +81,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(fss_basic_read_short_name, fss_basic_read_long_name, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_basic_read_short_count, fss_basic_read_long_count, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_basic_read_short_total, fss_basic_read_long_total, 0, 0, f_false, f_console_type_normal, 0), \ diff --git a/level_3/fss_basic_write/c/fss_basic_write.c b/level_3/fss_basic_write/c/fss_basic_write.c index b80f612..377a48a 100644 --- a/level_3/fss_basic_write/c/fss_basic_write.c +++ b/level_3/fss_basic_write/c/fss_basic_write.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/fss_basic_write/c/fss_basic_write.h b/level_3/fss_basic_write/c/fss_basic_write.h index ddacf8c..9b1cf1e 100644 --- a/level_3/fss_basic_write/c/fss_basic_write.h +++ b/level_3/fss_basic_write/c/fss_basic_write.h @@ -72,7 +72,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(fss_basic_write_short_object, fss_basic_write_long_object, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_basic_write_short_file, fss_basic_write_long_file, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_basic_write_short_string, fss_basic_write_long_string, 0, 0, f_true, f_console_type_normal, 0), \ diff --git a/level_3/fss_extended_read/c/fss_extended_read.c b/level_3/fss_extended_read/c/fss_extended_read.c index d3a4dea..d0205dc 100644 --- a/level_3/fss_extended_read/c/fss_extended_read.c +++ b/level_3/fss_extended_read/c/fss_extended_read.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/fss_extended_read/c/fss_extended_read.h b/level_3/fss_extended_read/c/fss_extended_read.h index 527fbad..aa7db20 100644 --- a/level_3/fss_extended_read/c/fss_extended_read.h +++ b/level_3/fss_extended_read/c/fss_extended_read.h @@ -84,7 +84,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(fss_extended_read_short_name, fss_extended_read_long_name, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_extended_read_short_count, fss_extended_read_long_count, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_extended_read_short_total, fss_extended_read_long_total, 0, 0, f_false, f_console_type_normal, 0), \ diff --git a/level_3/fss_extended_write/c/fss_extended_write.c b/level_3/fss_extended_write/c/fss_extended_write.c index 6a69dba..bed3393 100644 --- a/level_3/fss_extended_write/c/fss_extended_write.c +++ b/level_3/fss_extended_write/c/fss_extended_write.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/fss_extended_write/c/fss_extended_write.h b/level_3/fss_extended_write/c/fss_extended_write.h index cdf3346..0c723c4 100644 --- a/level_3/fss_extended_write/c/fss_extended_write.h +++ b/level_3/fss_extended_write/c/fss_extended_write.h @@ -75,7 +75,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(fss_extended_write_short_object, fss_extended_write_long_object, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_extended_write_short_file, fss_extended_write_long_file, 0, 0, f_true, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_extended_write_short_string, fss_extended_write_long_string, 0, 0, f_true, f_console_type_normal, 0), \ diff --git a/level_3/fss_return_code/c/fss_return_code.c b/level_3/fss_return_code/c/fss_return_code.c index e5e8049..a0be4a1 100644 --- a/level_3/fss_return_code/c/fss_return_code.c +++ b/level_3/fss_return_code/c/fss_return_code.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/fss_return_code/c/fss_return_code.h b/level_3/fss_return_code/c/fss_return_code.h index 080559c..3bb5d24 100644 --- a/level_3/fss_return_code/c/fss_return_code.h +++ b/level_3/fss_return_code/c/fss_return_code.h @@ -75,7 +75,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(fss_return_code_short_is_fine, fss_return_code_long_is_fine, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_return_code_short_is_warning, fss_return_code_long_is_warning, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(fss_return_code_short_is_error, fss_return_code_long_is_error, 0, 0, f_false, f_console_type_normal, 0), \ diff --git a/level_3/return_code/c/return_code.c b/level_3/return_code/c/return_code.c index 23168ac..9d091cc 100644 --- a/level_3/return_code/c/return_code.c +++ b/level_3/return_code/c/return_code.c @@ -52,10 +52,10 @@ extern "C"{ fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_no_color); printf(" Do not output in color"); - printf("\n %s", f_console_symbol_short_enable); + printf("\n %s", f_console_symbol_short_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_short_version); - printf(", %s", f_console_symbol_long_enable); + printf(", %s", f_console_symbol_long_disable); fl_print_color(f_standard_output, data.context.standout, data.context.reset, f_console_standard_long_version); printf(" Print only the version number"); diff --git a/level_3/return_code/c/return_code.h b/level_3/return_code/c/return_code.h index b9372d4..076189d 100644 --- a/level_3/return_code/c/return_code.h +++ b/level_3/return_code/c/return_code.h @@ -74,7 +74,7 @@ extern "C"{ f_console_parameter_initialize(f_console_standard_short_help, f_console_standard_long_help, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(f_console_standard_short_light, f_console_standard_long_light, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(f_console_standard_short_no_color, f_console_standard_long_no_color, 0, 0, f_false, f_console_type_inverse, 0), \ - f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_normal, 0), \ + f_console_parameter_initialize(f_console_standard_short_version, f_console_standard_long_version, 0, 0, f_false, f_console_type_inverse, 0), \ f_console_parameter_initialize(return_code_short_is_fine, return_code_long_is_fine, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(return_code_short_is_warning, return_code_long_is_warning, 0, 0, f_false, f_console_type_normal, 0), \ f_console_parameter_initialize(return_code_short_is_error, return_code_long_is_error, 0, 0, f_false, f_console_type_normal, 0), \