]> Kevux Git Server - fll/commitdiff
Bugfix: The help code is being used instead of the light code.
authorKevin Day <Kevin@kevux.org>
Wed, 29 May 2024 23:40:32 +0000 (18:40 -0500)
committerKevin Day <Kevin@kevux.org>
Wed, 29 May 2024 23:40:32 +0000 (18:40 -0500)
The wrong enumeration is being used.
Fix some out of order comments as well.

level_3/controller/c/rule/private-rule.c

index 94829cd5a3233232d43a9fcfca7af144cfb0ab4f..5fe0f81ec0ea41615caee7869c7e5665aab35cfa 100644 (file)
@@ -2128,9 +2128,9 @@ extern "C" {
         f_console_symbol_short_disable_s, // normal.
         f_console_symbol_short_disable_s, // verbose.
         f_console_symbol_short_disable_s, // debug.
-        f_console_symbol_short_enable_s,  // daemon.
         f_console_symbol_short_enable_s,  // init.
         f_console_symbol_short_enable_s,  // interruptible.
+        f_console_symbol_short_enable_s,  // daemon.
         f_console_symbol_short_enable_s,  // simulate.
         f_console_symbol_short_enable_s,  // uninterruptible.
         f_console_symbol_short_enable_s,  // validate.
@@ -2165,7 +2165,7 @@ extern "C" {
       };
 
       const uint8_t codes[] = {
-        controller_parameter_help_e,
+        controller_parameter_light_e,
         controller_parameter_dark_e,
         controller_parameter_no_color_e,
         controller_parameter_verbosity_quiet_e,
@@ -2195,9 +2195,9 @@ extern "C" {
         F_false, // normal.
         F_false, // verbose.
         F_false, // debug.
-        F_false, // daemon.
         F_false, // init.
         F_false, // interruptible.
+        F_false, // daemon.
         F_false, // simulate.
         F_false, // uninterruptible.
         F_false, // validate.