From de4dce44f669c1a74bdb3e3e70c94218b2bd6153 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 28 Sep 2024 16:07:39 +0200 Subject: [PATCH] [colors] Added cmdline option color-mode Alias to document.colors.use_document_colors. --- src/config/cmdline.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/cmdline.c b/src/config/cmdline.c index 61d940157..cceee2fd8 100644 --- a/src/config/cmdline.c +++ b/src/config/cmdline.c @@ -840,6 +840,10 @@ union option_info cmdline_options_info[] = { INIT_OPT_COMMAND("", NULL, "confdir", OPT_HIDDEN, redir_cmd, NULL), + INIT_OPT_CMDALIAS("", N_("Set mode of displaying colors in documents"), + "color-mode", OPT_ALIAS, "document.colors.use_document_colors", + N_("Possible values 0, 1 or 2.")), + INIT_OPT_STRING("", N_("Name of directory with configuration file"), "config-dir", OPT_ZERO, "", N_("Path of the directory ELinks will read and write its "