diff --git a/src/App/Application.cpp b/src/App/Application.cpp index f1b526f56..db242cddb 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -1385,6 +1385,10 @@ namespace boost { namespace filesystem { pair customSyntax(const string& s) { +#if defined(FC_OS_MACOSX) + if (s.find("-psn_") == 0) + return make_pair(string("psn"), s.substr(5)); +#endif if (s.find("-display") == 0) return make_pair(string("display"), string("null")); else if (s.find("-style") == 0) @@ -1493,6 +1497,9 @@ void Application::ParseOptions(int ac, char ** av) ("visual", boost::program_options::value< string >(), "set the X-Window to color scema") ("ncols", boost::program_options::value< int >(), "set the X-Window to color scema") ("cmap", "set the X-Window to color scema") +#if defined(FC_OS_MACOSX) + ("psn", boost::program_options::value< string >(), "process serial number") +#endif ; // Ignored options, will be savely ignored. Mostly uses by underlaying libs.