Skip to content
Snippets Groups Projects
Commit 5969666f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 2fad6ecd
No related branches found
No related tags found
No related merge requests found
// $Id: CommandLine.cpp,v 1.1 2002-09-24 02:04:33 geuzaine Exp $ // $Id: CommandLine.cpp,v 1.2 2002-10-24 23:39:31 geuzaine Exp $
// //
// Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle
// //
...@@ -517,10 +517,16 @@ void Get_Options (int argc, char *argv[], int *nbfiles) { ...@@ -517,10 +517,16 @@ void Get_Options (int argc, char *argv[], int *nbfiles) {
else{ else{
#ifdef __APPLE__
// Macs launch programs with special command line options... Just ignore them.
fprintf(stderr, "Unknown option '%s'\n", argv[i]);
i++;
#else
fprintf(stderr, "Unknown option '%s'\n", argv[i]); fprintf(stderr, "Unknown option '%s'\n", argv[i]);
CTX.terminal = 1 ; CTX.terminal = 1 ;
Print_Usage(argv[0]); Print_Usage(argv[0]);
exit(1); exit(1);
#endif
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment