summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index aa0c9e32..33b04778 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -305,6 +305,15 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
handlers.push_back(op);
}
#endif // ENABLE_ASYNC_DNS
+ {
+ OptionHandler* op(new BooleanOptionHandler
+ (PREF_ENABLE_COLOR,
+ TEXT_ENABLE_COLOR,
+ A2_V_TRUE,
+ OptionHandler::OPT_ARG));
+ op->addTag(TAG_ADVANCED);
+ handlers.push_back(op);
+ }
#if defined(HAVE_MMAP) || defined(__MINGW32__)
{
OptionHandler* op(new BooleanOptionHandler