Skip to content
Snippets Groups Projects
Commit e3e76867 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard
Browse files

vkd3d-compiler: Print a slightly more elaborate usage message.

parent 24eaeb2c
No related branches found
No related tags found
No related merge requests found
......@@ -98,12 +98,13 @@ compiler_options[] =
static void print_usage(const char *program_name)
{
unsigned int i;
static const char usage[] =
"[options...] file\n"
"Options:\n"
" -o <file> Write the output to <file>.\n"
" --strip-debug Strip debug information from the output.\n";
fprintf(stderr, "usage: %s", program_name);
for (i = 0; i < ARRAY_SIZE(compiler_options); ++i)
fprintf(stderr, " [%s]", compiler_options[i].name);
fprintf(stderr, " [-o <out_spirv_filename>] <dxbc_filename>\n");
fprintf(stderr, "Usage: %s %s", program_name, usage);
}
struct options
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment