File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1987,10 +1987,10 @@ namespace po {
1987
1987
} else {
1988
1988
stream << repeat{ verbose_width + mid_padding, ' ' };
1989
1989
}
1990
- std::size_t caret = description_start;
1990
+ std::size_t carriage = description_start;
1991
1991
std::string const & descr = i.second .get_description ();
1992
1992
for ( std::size_t i = 0 ; i < descr.size (); ++i ) {
1993
- const bool last = ( i + 1 < descr.size () ) && ( caret + 1 >= console_width );
1993
+ const bool last = ( i + 1 < descr.size () ) && ( carriage + 1 >= console_width );
1994
1994
if ( last ) {
1995
1995
if ( std::isgraph ( descr[ i ] ) && std::isgraph ( descr[ i + 1 ] ) ) {
1996
1996
if ( std::isgraph ( descr[ i - 1 ] ) ) {
@@ -2002,13 +2002,13 @@ namespace po {
2002
2002
}
2003
2003
}
2004
2004
if ( descr[ i ] == ' \n ' || last ) {
2005
- caret = description_start + paragraph_indenture;
2006
- stream << ' \n ' << repeat{ caret , ' ' };
2005
+ carriage = description_start + paragraph_indenture;
2006
+ stream << ' \n ' << repeat{ carriage , ' ' };
2007
2007
if ( std::isblank ( descr[ i + 1 ] ) )
2008
2008
++i;
2009
2009
} else {
2010
2010
stream << descr[ i ];
2011
- ++caret ;
2011
+ ++carriage ;
2012
2012
}
2013
2013
}
2014
2014
stream << ' \n ' ;
You can’t perform that action at this time.
0 commit comments