Limit change of 9 November to only Debug builds for "-NSDocumentRevisionsDebugMode=YES" command line arg

svn path=/trunk/boinc/; revision=24597
This commit is contained in:
Charlie Fenton 2011-11-15 02:06:18 +00:00
parent eba8eb373e
commit 519a5145cd
2 changed files with 8 additions and 1 deletions

View File

@ -8479,3 +8479,10 @@ Charlie 14 Nov 2011
clientgui/
sg_BoincSimpleFrame.cpp
sg_TaskPanel.cpp,.h
Charlie 9 Nov 2011
- MGR: Limit change of 9 November to only Debug builds: accept and
ignore command line argument "-NSDocumentRevisionsDebugMode=YES"
clientgui/
BOINCGUIApp.cpp

View File

@ -515,7 +515,7 @@ void CBOINCGUIApp::OnInitCmdLine(wxCmdLineParser &parser) {
{ wxCMD_LINE_SWITCH, wxT("i"), wxT("insecure"), _("disable BOINC security users and permissions")},
{ wxCMD_LINE_SWITCH, wxT("c"), wxT("checkskins"), _("set skin debugging mode to enable skin manager error messages")},
{ wxCMD_LINE_SWITCH, wxT("m"), wxT("multiple"), _("multiple instances of BOINC Manager allowed")},
#ifdef __WXMAC__
#if (defined(__WXMAC__) && defined(_DEBUG))
{ wxCMD_LINE_OPTION, wxT("NSDocumentRevisionsDebugMode"), NULL, _("Not used: workaround for bug in XCode 4.2")},
#endif
{ wxCMD_LINE_NONE} //DON'T forget this line!!