Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2011, 5:51:21 AM (13 years ago)
Author:
rgrieder
Message:

Removed useless and possibly confusion feature: specifying a file with additional command line arguments.
If we ever have too many command line arguments, then something is wrong anyway. And configuring a dedicated server should be done with config values (but a different file).
In general, always prefer config values to CommandLineArguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/libraries/core/Core.cc

    r8519 r8520  
    131131
    132132        // Parse command line arguments AFTER the modules have been loaded (static code!)
    133         CommandLineParser::parseCommandLine(cmdLine);
     133        CommandLineParser::parse(cmdLine);
    134134
    135135        // Set configurable paths like log, config and media
     
    143143        // Set the correct log path. Before this call, /tmp (Unix) or %TEMP% (Windows) was used
    144144        OutputHandler::getInstance().setLogPath(PathConfig::getLogPathString());
    145 
    146         // Parse additional options file now that we know its path
    147         CommandLineParser::parseFile();
    148145
    149146#ifdef ORXONOX_PLATFORM_WINDOWS
Note: See TracChangeset for help on using the changeset viewer.