73 | | "foo foo foo foo foo foo foo foo foo foo foo foo foo foo"); |
| 73 | "foo foo foo foo foo foo foo foo foo foo foo foo foo foo") |
| 74 | ("list", new untyped_value(), |
| 75 | "a list:\n \t" |
| 76 | "item1, item2, item3, item4, item5, item6, item7, item8, item9, " |
| 77 | "item10, item11, item12, item13, item14, item15, item16, item17, item18") |
| 78 | ("well_formated", new untyped_value(), |
| 79 | "As you can see this is a very well formatted option description.\n" |
| 80 | "You can do this for example:\n\n" |
| 81 | "Values:\n" |
| 82 | " Value1: \tdoes this and that, bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla\n" |
| 83 | " Value2: \tdoes something else, bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla\n\n" |
| 84 | " This paragraph has a first line indent only, bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla") |
| 85 | ; |
| 89 | BOOST_CHECK_EQUAL(ss.str(), |
| 90 | " --test arg foo foo foo foo foo foo foo foo foo foo foo foo foo \n" |
| 91 | " foofoo foo foo foo foo foo foo foo foo foo foo foo foo \n" |
| 92 | " foofoo foo foo foo foo foo foo foo foo foo foo foo foo \n" |
| 93 | " foofoo foo foo foo foo foo foo foo foo foo foo foo foo \n" |
| 94 | " foo\n" |
| 95 | " --list arg a list:\n" |
| 96 | " item1, item2, item3, item4, item5, item6, item7, \n" |
| 97 | " item8, item9, item10, item11, item12, item13, item14, \n" |
| 98 | " item15, item16, item17, item18\n" |
| 99 | " --well_formated arg As you can see this is a very well formatted option \n" |
| 100 | " description.\n" |
| 101 | " You can do this for example:\n" |
| 102 | " \n" |
| 103 | " Values:\n" |
| 104 | " Value1: does this and that, bla bla bla bla bla bla \n" |
| 105 | " bla bla bla bla bla bla bla bla bla\n" |
| 106 | " Value2: does something else, bla bla bla bla bla bla \n" |
| 107 | " bla bla bla bla bla bla bla bla bla\n" |
| 108 | " \n" |
| 109 | " This paragraph has a first line indent only, bla \n" |
| 110 | " bla bla bla bla bla bla bla bla bla bla bla bla bla bla\n" |
| 111 | ); |