From da78e52a224ccaf47b9f30e9d1eb442a35596d1e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 17 Sep 2009 14:43:13 +0000 Subject: [PATCH] 2009-09-17 Tatsuhiro Tsujikawa Added help category #file. Added #file tag to the options related to downloaded file. * src/OptionHandlerFactory.cc * src/help_tags.h --- ChangeLog | 9 ++++++++- src/OptionHandlerFactory.cc | 11 ++++++++++- src/help_tags.h | 1 + 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0913cd99..e2ac9f58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,16 @@ +2009-09-17 Tatsuhiro Tsujikawa + + Added help category #file. Added #file tag to the options related + to downloaded file. + * src/OptionHandlerFactory.cc + * src/help_tags.h + 2009-09-17 Tatsuhiro Tsujikawa Added help categories: #cookie and #hook. Added #https tag to --https-proxy and --https-proxy, --all-proxy and --no-proxy. * src/OptionHandlerFactory.cc - * src/help_tags + * src/help_tags.h 2009-09-16 Tatsuhiro Tsujikawa diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 55ee627d..11c586e1 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -55,6 +55,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() TEXT_ALLOW_OVERWRITE, V_FALSE)); op->addTag(TAG_ADVANCED); + op->addTag(TAG_FILE); handlers.push_back(op); } { @@ -83,6 +84,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() V_TRUE, OptionHandler::OPT_ARG)); op->addTag(TAG_ADVANCED); + op->addTag(TAG_FILE); handlers.push_back(op); } { @@ -105,6 +107,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() op->addTag(TAG_BASIC); op->addTag(TAG_BITTORRENT); op->addTag(TAG_METALINK); + op->addTag(TAG_FILE); handlers.push_back(op); } #endif // ENABLE_MESSAGE_DIGEST @@ -147,6 +150,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() OptionHandler::REQ_ARG, 'd')); op->addTag(TAG_BASIC); + op->addTag(TAG_FILE); handlers.push_back(op); } { @@ -166,6 +170,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() V_TRUE, OptionHandler::OPT_ARG)); op->addTag(TAG_ADVANCED); + op->addTag(TAG_FILE); handlers.push_back(op); } #endif // ENABLE_DIRECT_IO @@ -211,6 +216,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() #endif // HAVE_POSIX_FALLOCATE 'a')); op->addTag(TAG_BASIC); + op->addTag(TAG_FILE); handlers.push_back(op); } { @@ -305,6 +311,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() "5M", 0)); op->addTag(TAG_ADVANCED); + op->addTag(TAG_FILE); handlers.push_back(op); } { @@ -512,6 +519,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() op->addTag(TAG_BASIC); op->addTag(TAG_FTP); op->addTag(TAG_HTTP); + op->addTag(TAG_FILE); handlers.push_back(op); } { @@ -1275,7 +1283,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() TAG_BASIC, StringFormat ("%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, " - "%s, %s, %s", + "%s, %s, %s, %s", TAG_BASIC, TAG_ADVANCED, TAG_HTTP, @@ -1285,6 +1293,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers() TAG_BITTORRENT, TAG_COOKIE, TAG_HOOK, + TAG_FILE, TAG_XML_RPC, TAG_EXPERIMENTAL, TAG_HELP, diff --git a/src/help_tags.h b/src/help_tags.h index 7ff3c1f0..8907c531 100644 --- a/src/help_tags.h +++ b/src/help_tags.h @@ -44,6 +44,7 @@ #define TAG_BITTORRENT "#bittorrent" #define TAG_COOKIE "#cookie" #define TAG_HOOK "#hook" +#define TAG_FILE "#file" #define TAG_XML_RPC "#xml-rpc" #define TAG_EXPERIMENTAL "#experimental" #define TAG_HELP "#help"