From bb1917f8a99317b655396f8de4c26bad4964b36c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 17 Jun 2008 13:43:38 +0000 Subject: [PATCH] 2008-06-17 Tatsuhiro Tsujikawa Added missing default value '5' to the usage of --split option. * src/HelpItemFactory.cc --- ChangeLog | 5 +++++ src/HelpItemFactory.cc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index df477adf..9b02f9ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-17 Tatsuhiro Tsujikawa + + Added missing default value '5' to the usage of --split option. + * src/HelpItemFactory.cc + 2008-06-17 Tatsuhiro Tsujikawa Filled up pieces based on the number of missing blocks, rather than diff --git a/src/HelpItemFactory.cc b/src/HelpItemFactory.cc index 8e1a3b69..e230b19a 100644 --- a/src/HelpItemFactory.cc +++ b/src/HelpItemFactory.cc @@ -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);