changeset 27755:69f545e290ea

Add -nomsgcolor option to match -msgcolor, patch by swell.k gmail com.
author diego
date Thu, 16 Oct 2008 19:12:57 +0000
parents 08d18fe9da52
children 1266470a5651
files cfg-common-opts.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common-opts.h	Thu Oct 16 18:59:27 2008 +0000
+++ b/cfg-common-opts.h	Thu Oct 16 19:12:57 2008 +0000
@@ -10,6 +10,7 @@
 	{"v", cfg_inc_verbose, CONF_TYPE_FUNC, CONF_GLOBAL|CONF_NOSAVE, 0, 0, NULL},
 	{"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
 	{"msgcolor", &mp_msg_color, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
+	{"nomsgcolor", &mp_msg_color, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
 	{"msgmodule", &mp_msg_module, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
 #ifdef CONFIG_ICONV
 	{"msgcharset", &mp_msg_charset, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},