]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed a bug in the arguments to the program
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Apr 2008 12:12:46 +0000 (12:12 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Apr 2008 12:12:46 +0000 (12:12 +0000)
FMD/FMDPedestalda.cxx

index b2713188446041b88e0f6cb43f26c704a50b1fdb..cd04a1794e11f70acc1da1f0060e606f39e07ed5 100644 (file)
@@ -48,7 +48,8 @@ int main(int argc, char **argv)
     return 0;
   }
   
-  if(!secondArgument.IsWhitespace()) {
+  if(!secondArgument.IsWhitespace() && !secondArgument.Contains("--help") 
+     && !secondArgument.Contains("--diagnostics=true")) {
     std::cout<<"Second argument wrong. Use --help"<<std::endl;
     return -1;
   }