Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2009, 12:28:59 PM (15 years ago)
Author:
rgrieder
Message:

Renamed CommandLine to CommandLineParse to avoid confusions with the class name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/PathConfig.cc

    r5929 r6021  
    5454#include "util/Debug.h"
    5555#include "util/Exception.h"
    56 #include "CommandLine.h"
     56#include "CommandLineParser.h"
    5757
    5858// Boost 1.36 has some issues with deprecated functions that have been omitted
     
    186186
    187187            // Check for data path override by the command line
    188             if (!CommandLine::getArgument("externalDataPath")->hasDefaultValue())
    189                 externalDataPath_ = CommandLine::getValue("externalDataPath").getString();
     188            if (!CommandLineParser::getArgument("externalDataPath")->hasDefaultValue())
     189                externalDataPath_ = CommandLineParser::getValue("externalDataPath").getString();
    190190            else
    191191                externalDataPath_ = specialConfig::externalDataDevDirectory;
     
    224224
    225225        // Option to put all the config and log files in a separate folder
    226         if (!CommandLine::getArgument("writingPathSuffix")->hasDefaultValue())
    227         {
    228             std::string directory(CommandLine::getValue("writingPathSuffix").getString());
     226        if (!CommandLineParser::getArgument("writingPathSuffix")->hasDefaultValue())
     227        {
     228            std::string directory(CommandLineParser::getValue("writingPathSuffix").getString());
    229229            configPath_ = configPath_ / directory;
    230230            logPath_    = logPath_    / directory;
Note: See TracChangeset for help on using the changeset viewer.