MGR: Show Skin Manager error message only if Manager launched with command-line arg -c or --checkskins

svn path=/trunk/boinc/; revision=17081
This commit is contained in:
Charlie Fenton 2009-01-30 09:26:21 +00:00
parent 10344b1617
commit 72c17f3d2d
2 changed files with 2 additions and 2 deletions

View File

@ -946,7 +946,7 @@ Charlie Jan 29 2009
Charlie Jan 30 2009
- MGR: Suppress Skin Manager error messages by default; enable them
only if the Manager is launched from the command line with an
argument -c or --checkSkins.
argument -c or --checkskins.
clientgui/
BOINCGUIApp.cpp, .h

View File

@ -517,7 +517,7 @@ void CBOINCGUIApp::OnInitCmdLine(wxCmdLineParser &parser) {
{ wxCMD_LINE_SWITCH, wxT("s"), wxT("systray"), _("Startup BOINC so only the system tray icon is visible")},
{ wxCMD_LINE_SWITCH, wxT("b"), wxT("boincargs"), _("Startup BOINC with these optional arguments")},
{ 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("c"), wxT("checkskins"), _("set skin debugging mode to enable skin manager error messages")},
{ wxCMD_LINE_NONE} //DON'T forget this line!!
};
parser.SetDesc(cmdLineDesc);