2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Added missing default value '5' to the usage of --split option.
	* src/HelpItemFactory.cc
pull/1/head
Tatsuhiro Tsujikawa 2008-06-17 13:43:38 +00:00
parent dfe2f99345
commit bb1917f8a9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added missing default value '5' to the usage of --split option.
* src/HelpItemFactory.cc
2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Filled up pieces based on the number of missing blocks, rather than

View File

@ -69,7 +69,8 @@ TagContainerHandle HelpItemFactory::createHelpItems(const Option* op)
}
#endif // HAVE_DAEMON
{
HelpItemHandle item(new HelpItem(PREF_SPLIT, TEXT_SPLIT));
HelpItemHandle item(new HelpItem(PREF_SPLIT, TEXT_SPLIT,
op->get(PREF_SPLIT)));
item->setAvailableValues("1-16");
item->addTag(TAG_BASIC);
item->addTag(TAG_HTTP);