2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Added help message for -R option.
	* src/HelpItemFactory.cc
	* src/usage_text.h
This commit is contained in:
Tatsuhiro Tsujikawa 2008-09-08 13:23:55 +00:00
parent dc8915f599
commit a91664cef8
3 changed files with 18 additions and 0 deletions

View File

@ -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>
Added the message that the time is in local time zone.

View File

@ -511,6 +511,14 @@ TagContainerHandle HelpItemFactory::createHelpItems(const Option* op)
V_WARN.c_str(), V_ERROR.c_str()).str());
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));
item->setAvailableValues

View File

@ -356,3 +356,7 @@ _(" --summary-interval=SEC Set interval to output download progress summar
" Setting 0 suppresses the output.")
#define TEXT_LOG_LEVEL \
_(" --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.")