summaryrefslogtreecommitdiff
path: root/macosx/Source/main.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-10-01 19:49:24 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-10-01 19:49:24 +0000
commit2696434b4e4890b0c77db963e17cc9282ec93134 (patch)
treea3a0961ea5759a7f0132df616c2b3c327e695a04 /macosx/Source/main.m
parentc2cb84c86ec9a3db773adca91ea5630a63e27320 (diff)
downloadpcsxr-2696434b4e4890b0c77db963e17cc9282ec93134.tar.gz
OS X: Match the command-line arguments with those of the Linux/UNIX version.
Quiet warnings about comments. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91777 e17a0e51-4ae3-4d35-97c3-1a29b211df97
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);
}