summaryrefslogtreecommitdiff
path: root/macosx/Source/main.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Source/main.m')
-rw-r--r--macosx/Source/main.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Source/main.m b/macosx/Source/main.m
index 33f74908..7a88b336 100644
--- a/macosx/Source/main.m
+++ b/macosx/Source/main.m
@@ -86,7 +86,7 @@ int main(int argc, const char *argv[])
} else {
for (int i = 1; i < argc; i++) {
//All the other option will be handled in the app delegate's awakeFromNib
- if (!strcasecmp("--help", argv[i])) {
+ if (!strcasecmp("--help", argv[i]) || !strcasecmp("-help", argv[i]) || !strcasecmp("-h", argv[i])) {
fprintf(stdout, "%s\n", argv[0]);
ShowHelpAndExit(stdout, EXIT_SUCCESS);
}