MCPcopy Create free account
hub / github.com/OpenSteam001/OpenSteamTool / printUsage

Function printUsage

tools/ipc_codegen/ipc_codegen.cpp:1099–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1097constexpr const char* kVersion = "ipc_codegen 1.0.0";
1098
1099void printUsage(std::FILE* out) {
1100 std::fprintf(out,
1101 "usage: ipc_codegen [options] <input.steamd>...\n"
1102 " --cpp_out=DIR write generated <name>.gen.h into DIR (default: .)\n"
1103 " --version print version and exit\n"
1104 " -h, --help print this help and exit\n");
1105}
1106
1107std::string stem(const std::string& path) {
1108 const size_t slash = path.find_last_of("/\\");

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected