Skip to content

Commit

Permalink
tests: Output Vulkan SC CLI help when -h is used
Browse files Browse the repository at this point in the history
  • Loading branch information
aqnuep committed Oct 9, 2024
1 parent 5614afd commit 8407bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vulkansc/framework/vksc_test_environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ static bool GetEnvironmentFlag(const char *name) {
}

void VkSCTestEnvironment::InitArgs(int *argc, char *argv[]) {
if (GetCLIFlag(argc, argv, "--help", false)) {
if (GetCLIFlag(argc, argv, "--help", false) || GetCLIFlag(argc, argv, "-h", false)) {
printf("\nVulkan SC specific options:\n");
printf(
"\t--no-spv-debug-info\n"
Expand Down

0 comments on commit 8407bd1

Please sign in to comment.