diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/glsl/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/glsl/main.cpp b/src/compiler/glsl/main.cpp index 123e41f9dcc..e082bd69757 100644 --- a/src/compiler/glsl/main.cpp +++ b/src/compiler/glsl/main.cpp @@ -62,7 +62,10 @@ usage_fail(const char *name) "Possible options are:\n"; printf(header, name); for (const struct option *o = compiler_opts; o->name != 0; ++o) { - printf(" --%s\n", o->name); + printf(" --%s", o->name); + if (o->has_arg == required_argument) + printf(" (mandatory)"); + printf("\n"); } exit(EXIT_FAILURE); } |