|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58054 - in trunk/libs/program_options: src test
From: s.ochsenknecht_at_[hidden]
Date: 2009-11-30 08:38:15
Author: s_ochsenknecht
Date: 2009-11-30 08:38:14 EST (Mon, 30 Nov 2009)
New Revision: 58054
URL: http://svn.boost.org/trac/boost/changeset/58054
Log:
additional patch for Ticket #1527
Text files modified:
trunk/libs/program_options/src/options_description.cpp | 1 +
trunk/libs/program_options/test/options_description_test.cpp | 8 ++++----
2 files changed, 5 insertions(+), 4 deletions(-)
Modified: trunk/libs/program_options/src/options_description.cpp
==============================================================================
--- trunk/libs/program_options/src/options_description.cpp (original)
+++ trunk/libs/program_options/src/options_description.cpp 2009-11-30 08:38:14 EST (Mon, 30 Nov 2009)
@@ -424,6 +424,7 @@
if (first_line)
{
indent += par_indent;
+ line_length -= par_indent; // there's less to work with now
first_line = false;
}
Modified: trunk/libs/program_options/test/options_description_test.cpp
==============================================================================
--- trunk/libs/program_options/test/options_description_test.cpp (original)
+++ trunk/libs/program_options/test/options_description_test.cpp 2009-11-30 08:38:14 EST (Mon, 30 Nov 2009)
@@ -72,7 +72,7 @@
"foo foo foo foo foo foo foo foo foo foo foo foo foo foo"
"foo foo foo foo foo foo foo foo foo foo foo foo foo foo")
("list", new untyped_value(),
- "a list:\n \t"
+ "a list:\n \t"
"item1, item2, item3, item4, item5, item6, item7, item8, item9, "
"item10, item11, item12, item13, item14, item15, item16, item17, item18")
("well_formated", new untyped_value(),
@@ -93,9 +93,9 @@
" foofoo foo foo foo foo foo foo foo foo foo foo foo foo \n"
" foo\n"
" --list arg a list:\n"
-" item1, item2, item3, item4, item5, item6, item7, \n"
-" item8, item9, item10, item11, item12, item13, item14, \n"
-" item15, item16, item17, item18\n"
+" item1, item2, item3, item4, item5, item6, item7, \n"
+" item8, item9, item10, item11, item12, item13, \n"
+" item14, item15, item16, item17, item18\n"
" --well_formated arg As you can see this is a very well formatted option \n"
" description.\n"
" You can do this for example:\n"
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk