We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c1208 commit cf2b0eaCopy full SHA for cf2b0ea
ProgramOptions.hxx
@@ -1939,15 +1939,15 @@ namespace po {
1939
};
1940
PROGRAMOPTIONS_ASSERT( object.wellformed(), "cannot print an ill-formed parser" );
1941
stream << "Usage:\n " << object.m_program_name;
1942
+ if( !object.m_options.empty() )
1943
+ stream << " [options]";
1944
const auto unnamed = object.m_options.find( "" );
1945
if( unnamed != object.m_options.end() ) {
1946
stream << " [argument";
1947
if( unnamed->second.is_multi() )
1948
stream << "s...";
1949
stream << ']';
1950
}
- if( !object.m_options.empty() )
- stream << " [options]";
1951
stream << "\nAvailable options:\n";
1952
bool any_abbreviations = false;
1953
std::size_t max_verbose = 0;
0 commit comments