--- chewbacca/YodaProfiler/src/YodaProfiler.cpp 2008/12/22 10:38:15 1.5 +++ chewbacca/YodaProfiler/src/YodaProfiler.cpp 2009/01/12 18:23:38 1.6 @@ -25,6 +25,7 @@ printf(" -s | --silent print nothing on STDOUT\n"); printf(" -g | --debug be very verbose [default: no]\n"); printf(" -p | --pedantic be strict in checks, exit with error if any problem is found [default: yes]\n"); + printf(" -r | --relaxed do not perfrom some important checks, use it only if you know what you are doing [default: NO]\n"); printf(" -np | --no-pedantic do NOT be strict in checks, try to continue if any problem is found [default: no]\n"); printf(" -tag char set the run tagging in _RUNID_GEN to \"char\" (four letters)[default = 'NONE']\n"); printf(" -boot number CPU boot number [default = taken from VarDump]\n"); @@ -132,6 +133,8 @@ // Bool_t pedantic = true; // + Bool_t relaxed = false; + // Int_t i = 0; // if ( numinp > 1 ){ @@ -305,6 +308,8 @@ // if ( !strcmp(inps[i],"-p") || !strcmp(inps[i],"--pedantic") ) pedantic = true; // + if ( !strcmp(inps[i],"-r") || !strcmp(inps[i],"--relaxed") ) relaxed = true; + // if ( !strcmp(inps[i],"-np") || !strcmp(inps[i],"--no-pedantic") ) pedantic = false; // if ( !strcmp(inps[i],"-nofrag") ) nofrag = true; @@ -420,6 +425,7 @@ pamDB->SetNoFrag(nofrag); pamDB->SetAutoBoot(autoboot); pamDB->SetPedantic(pedantic); + pamDB->SetRelaxed(relaxed); // if ( remove ){ //-------------------------------------------------------------------------------------------