Changeset 8684
- Timestamp:
- 08/20/07 18:03:54 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mars.cc
r8683 r8684 45 45 gLog << all << endl; 46 46 gLog << "Sorry the usage is:" << endl; 47 gLog << " mars [options] filename|number [path]" << endl << endl;47 gLog << " mars [options] filename|number" << endl << endl; 48 48 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; 50 50 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;53 51 gLog << " Options:" << endl; 52 gLog << " --ind=path Path to files, valid if sequence file or number given." << endl; 54 53 gLog << " --config=mars.rc: Change configuration file" << endl; 55 54 gLog << " <not yet implemented!>" << endl; … … 104 103 105 104 //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=", ""); 107 107 108 108 if (arg.GetNumOptions()>0) … … 117 117 // check for the right usage of the program 118 118 // 119 if (arg.GetNumArguments()> 2)119 if (arg.GetNumArguments()>1) 120 120 { 121 121 gLog << warn << "WARNING - Too many arguments..." << endl; … … 128 128 // 129 129 const TString kFilename = arg.GetArgumentStr(0); 130 const TString kInpathD = arg.GetArgumentStr(1);131 130 132 131 //if (!kIsSequence && !InflateRun(kFilename)) … … 144 143 if (gROOT->IsBatch() || !gClient) 145 144 { 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; 147 146 return 1; 148 147 }
Note:
See TracChangeset
for help on using the changeset viewer.