diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-10-01 19:49:24 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-10-01 19:49:24 +0000 |
| commit | 2696434b4e4890b0c77db963e17cc9282ec93134 (patch) | |
| tree | a3a0961ea5759a7f0132df616c2b3c327e695a04 /macosx/Source/main.m | |
| parent | c2cb84c86ec9a3db773adca91ea5630a63e27320 (diff) | |
| download | pcsxr-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.m | 2 |
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); } |
