MCPcopy Create free account
hub / github.com/apache/thrift / usage

Method usage

compiler/cpp/tests/catch/catch.hpp:4950–4959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4948 }
4949
4950 void usage( std::ostream& os, std::string const& procName ) const {
4951 validate();
4952 os << "usage:\n " << procName << " ";
4953 argSynopsis( os );
4954 if( !m_options.empty() ) {
4955 os << " [options]\n\nwhere options are: \n";
4956 optUsage( os, 2 );
4957 }
4958 os << "\n";
4959 }
4960 std::string usage( std::string const& procName ) const {
4961 std::ostringstream oss;
4962 usage( oss, procName );

Callers 2

showHelpMethod · 0.80
applyCommandLineMethod · 0.80

Calls 3

emptyMethod · 0.80
strMethod · 0.80
usageFunction · 0.50

Tested by

no test coverage detected