]> Kevux Git Server - fll/commitdiff
Update: use +v and ++version instead of -v and --version
authorKevin Day <kevin@kevux.org>
Sun, 17 Jun 2012 23:12:11 +0000 (18:12 -0500)
committerKevin Day <kevin@kevux.org>
Sun, 17 Jun 2012 23:12:11 +0000 (18:12 -0500)
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.

18 files changed:
level_3/firewall/c/firewall.c
level_3/firewall/c/firewall.h
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/fss_basic_list_read.h
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/fss_basic_list_write.h
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/fss_basic_read.h
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/c/fss_basic_write.h
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/fss_extended_read.h
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_extended_write/c/fss_extended_write.h
level_3/fss_return_code/c/fss_return_code.c
level_3/fss_return_code/c/fss_return_code.h
level_3/return_code/c/return_code.c
level_3/return_code/c/return_code.h

index 0ecbc8c1ac39d21994051c2ac4a68b3dfc47f3d5..c1ddb2e570bf3ae72cb7b740111da564770d1794 100644 (file)
@@ -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");
 
index 2064fa6fc95f8eadd9900325a9499341f648f713..79408870b7a09175e2bfb3bde5651bcf7b1886a3 100644 (file)
@@ -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), \
index 401fd1db779576de7de2ba5d18e4e96aa7e2ee44..1921f1f082079c064777e60d16da4948033afb97 100644 (file)
@@ -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");
 
index a4cfa36a420f4be6f66ad4736941e35eed5a461d..519ecc9502519b6c4bee23513fc33e30db58b8d6 100644 (file)
@@ -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), \
index 70fcb8c395f77b3f0bb9927f4633cb144ba8a676..d974cb2fdcc7a6bd30eea712447267ff48c0db1d 100644 (file)
@@ -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");
 
index e208e932d641fba631187d74bea5061c01bb525e..dcba9c247bba041d36e4c18daa31388b46e6137f 100644 (file)
@@ -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), \
index 0ea96005a90db8883172671e83c8d7beddfd07ef..98d2f6737a75cc3638053d89837a25f55c43e47b 100644 (file)
@@ -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");
 
index 50deb22758bd377048eb6376d0cf6ef21f9769e3..030cfe3f9ee914b802d4ac07c0ef9c52ac69091b 100644 (file)
@@ -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), \
index b80f612e0d30f1ddbc60add092abc2380df06fb6..377a48a529c408c4f3a77b74f013381c513a608c 100644 (file)
@@ -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");
 
index ddacf8ca89e0deb710a605c52fcb0ede5715cc19..9b1cf1e45089e0af8ca2f2685d2d3adfe2334492 100644 (file)
@@ -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), \
index d3a4dea1c72e0994fa63e49b14611a27d054ea1f..d0205dcd6b7cf220e65a32d7441c819ffb14c384 100644 (file)
@@ -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");
 
index 527fbadc1de6f0b246f5831bca19ae40f6401fbf..aa7db20484da75bb0d716af6593248e3ac6b273b 100644 (file)
@@ -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), \
index 6a69dbaed6b078c4200c13f58e216d73ab0a484a..bed3393b33e7bd3323d77e709a8e35456bc9479b 100644 (file)
@@ -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");
 
index cdf33463ce5d7403fcbbf02983a29d7b9fdf2f97..0c723c4ce575719d0a1024185a9c28113241d403 100644 (file)
@@ -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), \
index e5e80490ba645b995c2e1c615ab9374168d18660..a0be4a1de26def8b150dbf12edd051a91e6ac6f3 100644 (file)
@@ -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");
 
index 080559c5ff93de9f4795b50c03fc4d7907ae09ef..3bb5d24984a7dd49ba79b96cbf179d9fbfac7f09 100644 (file)
@@ -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), \
index 23168ac25e0be944c38fb005ea9eb5cdf0400d1e..9d091ccd5899bfd46f04d36624d434d9885ab9ea 100644 (file)
@@ -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");
 
index b9372d45d0a9014390ec6b9408ee5e968c8e7e6a..076189d30e72565ac6746852e76c9f1ca547b950 100644 (file)
@@ -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), \