tests:Allow -help as well as --help
diff --git a/tests/xgltestframework.cpp b/tests/xgltestframework.cpp
index 12e4a01..0d49f21 100644
--- a/tests/xgltestframework.cpp
+++ b/tests/xgltestframework.cpp
@@ -145,7 +145,7 @@
* Since the above "consume" inputs, update argv
* so that it contains the trimmed list of args for glutInit
*/
- if (strncmp("--help", argv[i], 6) == 0) {
+ if (strncmp("--help", argv[i], 6) == 0 || strncmp("-help", argv[i], 5) == 0) {
printf("\nOther options:\n");
printf("\t--show-images\n"
"\t\tDisplay test images in viewer after tests complete.\n");