July 2, 2020 8:43 AM, "Henri Verbeet" hverbeet@codeweavers.com wrote:
diff --git a/programs/vkd3d-compiler/main.c b/programs/vkd3d-compiler/main.c index 8fa4d4f..e975572 100644 --- a/programs/vkd3d-compiler/main.c +++ b/programs/vkd3d-compiler/main.c @@ -147,6 +150,7 @@ static bool parse_command_line(int argc, char **argv, struct options *options)
static struct option long_options[] = {
{"help", no_argument, NULL, OPTION_HELP},
You know that if you have a long option that aliases a short option, you can just use the short option char as the code for the long option, right?
{"strip-debug", no_argument, NULL, OPTION_STRIP_DEBUG}, {NULL, 0, NULL, 0}, };
Chip