} else if ( stringsEqual(arg, W("/d")) || stringsEqual(arg, W("-d")) ) {
waitForDebugger = true;
return true;
- } else if ( stringsEqual(arg, W("/?")) || stringsEqual(arg, W("-?")) ) {
+ } else if ( stringsEqual(arg, W("/?")) || stringsEqual(arg, W("-?")) || stringsEqual(arg, W("-h")) || stringsEqual(arg, W("--help")) ) {
helpRequested = true;
return true;
} else {
break;
}
}
- else if (strcmp(argv[i], "--help") == 0)
+ else if (strcmp(argv[i], "-?") == 0 || strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0)
{
DisplayUsage();
break;