We also accept the short option -h.

Signed-off-by: Lucas De Marchi <[email protected]>
---
 lib/igt_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_core.c b/lib/igt_core.c
index a0b7e581..6b9f0425 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -558,7 +558,7 @@ static void print_usage(const char *help_str, bool 
output_on_stderr)
                   "  --debug[=log-domain]\n"
                   "  --interactive-debug[=domain]\n"
                   "  --help-description\n"
-                  "  --help\n");
+                  "  --help|-h\n");
        if (help_str)
                fprintf(f, "%s\n", help_str);
 }
-- 
2.21.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to