From 3a50899d19eb0d0b4d03ca1d9b6bf8b8f76f7afe Mon Sep 17 00:00:00 2001 From: Daniel Rakos Date: Wed, 9 Oct 2024 10:22:19 +0200 Subject: [PATCH] tests: Output Vulkan SC CLI help when -h is used --- tests/vulkansc/framework/vksc_test_environment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vulkansc/framework/vksc_test_environment.cpp b/tests/vulkansc/framework/vksc_test_environment.cpp index 560325949..3e1b3cbd2 100644 --- a/tests/vulkansc/framework/vksc_test_environment.cpp +++ b/tests/vulkansc/framework/vksc_test_environment.cpp @@ -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"