Ignore:
Timestamp:
08/04/04 11:19:34 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/merpp.cc

    r3800 r4452  
    116116    }
    117117
    118     if (arg.HasOnlyAndRemove("--no-colors") || arg.HasOnlyAndRemove("-a"))
    119         gLog.SetNoColors();
     118    gLog.Setup(arg);
    120119
    121120    const Int_t kComprlvl = arg.HasOption("-c") ? arg.GetIntAndRemove("-c") : 2;
     
    124123    const Bool_t kForce = arg.HasOnlyAndRemove("-f");
    125124    const Bool_t kForceProc = arg.HasOnlyAndRemove("-ff");
    126 
    127     gLog.SetDebugLevel(arg.HasOption("-v") ? arg.GetIntAndRemove("-v") : 2);
    128 
    129     gDebug = arg.HasOption("--debug=") ? arg.GetIntAndRemove("--debug=") : 0;
    130     if (gDebug==0 && arg.HasOnlyAndRemove("--debug"))
    131         gDebug=1;
    132125
    133126    MTime kTimeStart;
     
    145138    if (kTimeStop)
    146139        gLog << inf << "Stop  Time: " << kTimeStop << endl;
     140
     141    if (arg.GetNumOptions()>0)
     142    {
     143        gLog << warn << "WARNING - Unknown commandline options..." << endl;
     144        arg.Print("options");
     145        gLog << endl;
     146    }
    147147
    148148    //
Note: See TracChangeset for help on using the changeset viewer.