]> Kevux Git Server - fll/commitdiff
Bugfix: Add missing parameter in firewall help and tweak spaces.
authorKevin Day <thekevinday@gmail.com>
Thu, 9 Sep 2021 02:57:06 +0000 (21:57 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 9 Sep 2021 02:58:27 +0000 (21:58 -0500)
level_3/firewall/c/firewall.c

index bdb11f567c68fff05a3d00b05da80ff81d775eb5..c4237d3465ba2676067c1b3cfbd46be1493d8fb4 100644 (file)
@@ -30,11 +30,11 @@ extern "C" {
     fll_program_print_help_option(output, context, f_console_standard_short_version_s, f_console_standard_long_version_s, f_console_symbol_short_disable_s, f_console_symbol_long_disable_s, " Print only the version number.");
 
     fl_print_format("%c%c %[Available Commands:%] ", output.stream, f_string_eol_s[0], f_string_eol_s[0], context.set.important, context.set.important);
-    fl_print_format("%c  %[%s%]  Turn on the firewall.", output.stream, context.set.standout, firewall_command_start, context.set.standout);
-    fl_print_format("%c  %[%s%]  Turn off the firewall.", output.stream, context.set.standout, firewall_command_stop, context.set.standout);
-    fl_print_format("%c  %[%s%]  Turn off and then turn on the firewall.", output.stream, context.set.standout, firewall_command_restart, context.set.standout);
-    fl_print_format("%c  %[%s%]  Prevent all communication.", output.stream, context.set.standout, firewall_command_lock, context.set.standout);
-    fl_print_format("%c  %[%s%]  Show active firewall settings.", output.stream, context.set.standout, firewall_command_show, context.set.standout);
+    fl_print_format("%c  %[%s%]    Turn on the firewall.", output.stream, f_string_eol_s[0], context.set.standout, firewall_command_start, context.set.standout);
+    fl_print_format("%c  %[%s%]     Turn off the firewall.", output.stream, f_string_eol_s[0], context.set.standout, firewall_command_stop, context.set.standout);
+    fl_print_format("%c  %[%s%]  Turn off and then turn on the firewall.", output.stream, f_string_eol_s[0], context.set.standout, firewall_command_restart, context.set.standout);
+    fl_print_format("%c  %[%s%]     Prevent all communication.", output.stream, f_string_eol_s[0], context.set.standout, firewall_command_lock, context.set.standout);
+    fl_print_format("%c  %[%s%]     Show active firewall settings.", output.stream, f_string_eol_s[0], context.set.standout, firewall_command_show, context.set.standout);
 
     fll_program_print_help_usage(output, context, firewall_name, "command");