]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/color-names: add "white" between human-readable
authorKarel Zak <kzak@redhat.com>
Tue, 10 Mar 2020 08:45:33 +0000 (09:45 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Mar 2020 08:45:33 +0000 (09:45 +0100)
Addresses: https://github.com/karelzak/util-linux/issues/979
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/color-names.c

index 55060060d67ab059c33c2ce0f78ec8bb544e6b84..9b1505e4b04b83bdb825f336effc0539fbace624 100644 (file)
@@ -50,6 +50,7 @@ const char *color_sequence_from_colorname(const char *str)
                { "reset",      UL_COLOR_RESET,          },
                { "reverse",    UL_COLOR_REVERSE         },
                { "yellow",     UL_COLOR_BOLD_YELLOW     },
+               { "white",      UL_COLOR_WHITE           }
        };
        struct ul_color_name key = { .name = str }, *res;