1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[colors] Added cmdline option color-mode

Alias to document.colors.use_document_colors.
This commit is contained in:
Witold Filipczyk 2024-09-28 16:07:39 +02:00
parent 2ec72fa89f
commit de4dce44f6

View File

@ -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 "