mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-compiler: Print a slightly more elaborate usage message.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
24eaeb2cdf
commit
e3e76867ca
@ -98,12 +98,13 @@ compiler_options[] =
|
|||||||
|
|
||||||
static void print_usage(const char *program_name)
|
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);
|
fprintf(stderr, "Usage: %s %s", program_name, usage);
|
||||||
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");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct options
|
struct options
|
||||||
|
Reference in New Issue
Block a user