Commit 04e13502 authored by Mike Kremer's avatar Mike Kremer

Reverted changes

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4876 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bc1a42cf
...@@ -129,7 +129,7 @@ CSimpleOpt::SOption g_rgOptions[] = { ...@@ -129,7 +129,7 @@ CSimpleOpt::SOption g_rgOptions[] = {
{ OPT_HIDDDEN_LOGGER , (char*) "-l" , SO_NONE }, { OPT_HIDDDEN_LOGGER , (char*) "-l" , SO_NONE },
{ OPT_NOSPLASH , (char*) "--no-splash" , SO_NONE }, { OPT_NOSPLASH , (char*) "--no-splash" , SO_NONE },
{ OPT_HIDDDEN_TOOLBOX , (char*) "-t" , SO_NONE }, { OPT_HIDDDEN_TOOLBOX , (char*) "-t" , SO_NONE },
{ OPT_LOAD_POLYMESHES , (char*) "-p" , SO_OPT }, { OPT_LOAD_POLYMESHES , (char*) "-p" , SO_NONE },
{ OPT_REMOTE , (char*) "--remote-control" , SO_NONE }, { OPT_REMOTE , (char*) "--remote-control" , SO_NONE },
SO_END_OF_OPTIONS // END SO_END_OF_OPTIONS // END
}; };
...@@ -215,12 +215,6 @@ bool parseCommandLineOptions(CSimpleOpt& args){ ...@@ -215,12 +215,6 @@ bool parseCommandLineOptions(CSimpleOpt& args){
// while there are arguments left to process // while there are arguments left to process
while (args.Next()) { while (args.Next()) {
//ignore Darwin -psn flags
std::string argStr( args.OptionText() );
if ( argStr.find("-psn") != std::string::npos)
continue;
if (args.LastError() == SO_SUCCESS) { if (args.LastError() == SO_SUCCESS) {
switch (args.OptionId() ) { switch (args.OptionId() ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment