MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / help

Function help

simcore/framework/src/cli/cli.hpp:7480–7484  ·  view source on GitHub ↗

Printout the full help string on error (if this fn is set, the old default for CLI11)

Source from the content-addressed store, hash-verified

7478
7479/// Printout the full help string on error (if this fn is set, the old default for CLI11)
7480inline std::string help(const App *app, const Error &e) {
7481 std::string header = std::string("ERROR: ") + e.get_name() + ": " + e.what() + "\n";
7482 header += app->help();
7483 return header;
7484}
7485
7486} // namespace FailureMessage
7487

Callers 1

exitMethod · 0.85

Calls 3

whatMethod · 0.80
helpMethod · 0.80
get_nameMethod · 0.45

Tested by

no test coverage detected