summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-04-26 23:35:44 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-04-26 23:35:44 +0900
commitaa863fa4d11e93f8363e70cda0e558776485a7b9 (patch)
treede2f31e4c15895c4eda4618d6aec7732c2ff0dda /src/OptionHandlerFactory.cc
parent3c637fa3d5436c6e6fd7115dc08d69844b15358f (diff)
Add "hide" to --download-result option
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index 89231cd6..fa467c25 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -235,9 +235,9 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
handlers.push_back(op);
}
{
- OptionHandler* op(
- new ParameterOptionHandler(PREF_DOWNLOAD_RESULT, TEXT_DOWNLOAD_RESULT,
- A2_V_DEFAULT, {A2_V_DEFAULT, A2_V_FULL}));
+ OptionHandler* op(new ParameterOptionHandler(
+ PREF_DOWNLOAD_RESULT, TEXT_DOWNLOAD_RESULT, A2_V_DEFAULT,
+ {A2_V_DEFAULT, A2_V_FULL, A2_V_HIDE}));
op->addTag(TAG_ADVANCED);
op->setChangeGlobalOption(true);
handlers.push_back(op);