Changeset 8684


Ignore:
Timestamp:
08/20/07 18:03:54 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8683 r8684  
    4545    gLog << all << endl;
    4646    gLog << "Sorry the usage is:" << endl;
    47     gLog << " mars [options] filename|number [path]" << endl << endl;
     47    gLog << " mars [options] filename|number" << endl << endl;
    4848    gLog << " Arguments:" << endl;
    49     gLog << "   filename: Name of a merpped raw file, a calibrated (Y)," << endl;
     49    gLog << "   filename: Name of a merpped raw file, a calibrated (Y) file," << endl;
    5050    gLog << "             sequence file or sequence number." << endl;
    51     gLog << "   path:     Path where the data is stored in case of a" << endl;
    52     gLog << "             sequence (datacenter default if omitted)." << endl << endl;
    5351    gLog << " Options:" << endl;
     52    gLog << "   --ind=path                Path to files, valid if sequence file or number given." << endl;
    5453    gLog << "   --config=mars.rc:         Change configuration file" << endl;
    5554    gLog << "                             <not yet implemented!>" << endl;
     
    104103
    105104    //const Bool_t  kIsSequence = arg.HasOnlyAndRemove("--seq");
    106     const TString kConfig = arg.GetStringAndRemove("--config=", "mars.rc");
     105    const TString kConfig  = arg.GetStringAndRemove("--config=", "mars.rc");
     106    const TString kInpathD = arg.GetStringAndRemove("--ind=", "");
    107107
    108108    if (arg.GetNumOptions()>0)
     
    117117    // check for the right usage of the program
    118118    //
    119     if (arg.GetNumArguments()>2)
     119    if (arg.GetNumArguments()>1)
    120120    {
    121121        gLog << warn << "WARNING - Too many arguments..." << endl;
     
    128128    //
    129129    const TString kFilename = arg.GetArgumentStr(0);
    130     const TString kInpathD  = arg.GetArgumentStr(1);
    131130
    132131    //if (!kIsSequence && !InflateRun(kFilename))
     
    144143    if (gROOT->IsBatch() || !gClient)
    145144    {
    146         gLog << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
     145        gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
    147146        return 1;
    148147    }
Note: See TracChangeset for help on using the changeset viewer.