MCPcopy Create free account
hub / github.com/FidoProject/Fido / usage

Method usage

tests/catch.h:4469–4478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4467 }
4468
4469 void usage( std::ostream& os, std::string const& procName ) const {
4470 validate();
4471 os << "usage:\n " << procName << " ";
4472 argSynopsis( os );
4473 if( !m_options.empty() ) {
4474 os << " [options]\n\nwhere options are: \n";
4475 optUsage( os, 2 );
4476 }
4477 os << "\n";
4478 }
4479 std::string usage( std::string const& procName ) const {
4480 std::ostringstream oss;
4481 usage( oss, procName );

Callers 2

showHelpMethod · 0.80
applyCommandLineMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected