Added #checksum help tag.

pull/2/head
Tatsuhiro Tsujikawa 2011-08-23 17:59:38 +09:00
parent 8346b71593
commit 91220f20ca
3 changed files with 11 additions and 4 deletions

View File

@ -77,10 +77,10 @@ Basic Options
The help messages are classified with tags. A tag starts with
"#". For example, type "--help=#http" to get the usage for the
options tagged with "#http". If non-tag word is given, print the
usage for the options whose name includes that word.
Available Values: '#basic', '#advanced', '#http', '#https', '#ftp',
'#metalink', '#bittorrent', '#cookie', '#hook', '#file',
'#rpc', '#experimental', '#deprecated', '#help', '#all'
usage for the options whose name includes that word. Available
Values: '#basic', '#advanced', '#http', '#https', '#ftp',
'#metalink', '#bittorrent', '#cookie', '#hook', '#file', '#rpc',
'#checksum', '#experimental', '#deprecated', '#help', '#all'
Default: '#basic'
HTTP/FTP Options

View File

@ -131,6 +131,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
op->addTag(TAG_BITTORRENT);
op->addTag(TAG_METALINK);
op->addTag(TAG_FILE);
op->addTag(TAG_CHECKSUM);
handlers.push_back(op);
}
#endif // ENABLE_MESSAGE_DIGEST
@ -317,6 +318,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
op->addTag(TAG_BITTORRENT);
op->addTag(TAG_METALINK);
op->addTag(TAG_FILE);
op->addTag(TAG_CHECKSUM);
handlers.push_back(op);
}
#endif // ENABLE_MESSAGE_DIGEST
@ -555,6 +557,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
A2_V_TRUE,
OptionHandler::OPT_ARG));
op->addTag(TAG_METALINK);
op->addTag(TAG_CHECKSUM);
handlers.push_back(op);
}
#endif // ENABLE_MESSAGE_DIGEST
@ -679,6 +682,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
TEXT_CHECKSUM));
op->addTag(TAG_FTP);
op->addTag(TAG_HTTP);
op->addTag(TAG_CHECKSUM);
handlers.push_back(op);
}
#endif // ENABLE_MESSAGE_DIGEST
@ -1322,6 +1326,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
A2_V_TRUE,
OptionHandler::OPT_ARG));
op->addTag(TAG_BITTORRENT);
op->addTag(TAG_CHECKSUM);
handlers.push_back(op);
}
{
@ -1795,6 +1800,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
TAG_HOOK,
TAG_FILE,
TAG_RPC,
TAG_CHECKSUM,
TAG_EXPERIMENTAL,
TAG_DEPRECATED,
TAG_HELP,

View File

@ -46,6 +46,7 @@
#define TAG_HOOK "#hook"
#define TAG_FILE "#file"
#define TAG_RPC "#rpc"
#define TAG_CHECKSUM "#checksum"
#define TAG_EXPERIMENTAL "#experimental"
#define TAG_DEPRECATED "#deprecated"
#define TAG_HELP "#help"