How about the argument ``-nosplash'' in ap_UnixApp.cpp

Ming-I Hsieh (mihs@wm28.csie.ncu.edu.tw)
Wed, 16 Jun 1999 11:24:37 +0800


337 for (k=nFirstArg; (k<pArgs->m_argc); k++)
338 {
339 if (*pArgs->m_argv[k] == '-')
340 {
341 if
(UT_stricmp(pArgs->m_argv[k],"-nosplash") == 0)
342 {
343 bShowSplash = UT_FALSE;
344 break;
345 }
346 #if DEBUG
347 else if
(UT_stricmp(pArgs->m_argv[k],"-splash") == 0)
348 {
349 // [-splash filename]
350 szFile = pArgs->m_argv[k+1];
351 break;

Should we put it to ParseCommandLine?
Maybe we can remove _showSplash(&Args, szAppName) from
AP_UnixApp::main(...).
And let ParseCommandLine call it before return!

453 pMyUnixApp->ParseCommandLine();
454
455 _showSplash(&Args, szAppName);

--
Ming-I Hsieh


This archive was generated by hypermail 1.03b2.