From 2696434b4e4890b0c77db963e17cc9282ec93134 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 1 Oct 2014 19:49:24 +0000 Subject: 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 --- macosx/Source/main.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/Source/main.m') 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); } -- cgit v1.2.3