MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / print_usage

Function print_usage

vulkaninfo/vulkaninfo.cpp:1288–1302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1286 " only contains the list of supported video profile names.\n";
1287
1288void print_usage(const std::string &executable_name) {
1289 std::cout << "\n" APP_SHORT_NAME " - Summarize " API_NAME " information in relation to the current environment.\n\n";
1290 std::cout << "USAGE: \n";
1291 std::cout << " " << executable_name << " --summary\n";
1292 std::cout << " " << executable_name << " -o <filename> | --output <filename>\n";
1293 std::cout << " " << executable_name << " -j | -j=<gpu-number> | --json | --json=<gpu-number>\n";
1294 std::cout << " " << executable_name << " --text\n";
1295 std::cout << " " << executable_name << " --html\n";
1296 std::cout << " " << executable_name << " --show-all\n";
1297 std::cout << " " << executable_name << " --show-formats\n";
1298 std::cout << " " << executable_name << " --show-tool-props\n";
1299 std::cout << " " << executable_name << " --show-promoted-structs\n";
1300 std::cout << " " << executable_name << " --show-video-props\n";
1301 std::cout << "\n" << help_message_body << std::endl;
1302}
1303
1304struct ParsedResults {
1305 OutputCategory output_category = OutputCategory::text;

Callers 1

parse_argumentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected