mirror of https://github.com/aria2/aria2
2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added help message for -R option. * src/HelpItemFactory.cc * src/usage_text.hpull/1/head
parent
dc8915f599
commit
a91664cef8
|
@ -1,3 +1,9 @@
|
||||||
|
2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
Added help message for -R option.
|
||||||
|
* src/HelpItemFactory.cc
|
||||||
|
* src/usage_text.h
|
||||||
|
|
||||||
2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Added the message that the time is in local time zone.
|
Added the message that the time is in local time zone.
|
||||||
|
|
|
@ -511,6 +511,14 @@ TagContainerHandle HelpItemFactory::createHelpItems(const Option* op)
|
||||||
V_WARN.c_str(), V_ERROR.c_str()).str());
|
V_WARN.c_str(), V_ERROR.c_str()).str());
|
||||||
tc->addItem(item);
|
tc->addItem(item);
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
HelpItemHandle item(new HelpItem(PREF_REMOTE_TIME, TEXT_REMOTE_TIME,
|
||||||
|
op->get(PREF_REMOTE_TIME)));
|
||||||
|
item->addTag(TAG_HTTP);
|
||||||
|
item->addTag(TAG_FTP);
|
||||||
|
item->addTag(TAG_ADVANCED);
|
||||||
|
tc->addItem(item);
|
||||||
|
}
|
||||||
{
|
{
|
||||||
HelpItemHandle item(new HelpItem("help", TEXT_HELP, TAG_BASIC));
|
HelpItemHandle item(new HelpItem("help", TEXT_HELP, TAG_BASIC));
|
||||||
item->setAvailableValues
|
item->setAvailableValues
|
||||||
|
|
|
@ -356,3 +356,7 @@ _(" --summary-interval=SEC Set interval to output download progress summar
|
||||||
" Setting 0 suppresses the output.")
|
" Setting 0 suppresses the output.")
|
||||||
#define TEXT_LOG_LEVEL \
|
#define TEXT_LOG_LEVEL \
|
||||||
_(" --log-level=LEVEL Set log level to output.")
|
_(" --log-level=LEVEL Set log level to output.")
|
||||||
|
#define TEXT_REMOTE_TIME \
|
||||||
|
_(" -R, --remote-time[=true|false] Retrieve timestamp of the remote file from the\n"\
|
||||||
|
" remote HTTP/FTP server and if it is available,\n"\
|
||||||
|
" apply it to the local file.")
|
||||||
|
|
Loading…
Reference in New Issue