[MOAB-dev] r4092 - MOAB/trunk/test/parallel
    kraftche at cae.wisc.edu 
    kraftche at cae.wisc.edu
       
    Mon Aug 16 16:25:25 CDT 2010
    
    
  
Author: kraftche
Date: 2010-08-16 16:25:25 -0500 (Mon, 16 Aug 2010)
New Revision: 4092
Modified:
   MOAB/trunk/test/parallel/partcheck.cpp
Log:
print error message if no input file specified
Modified: MOAB/trunk/test/parallel/partcheck.cpp
===================================================================
--- MOAB/trunk/test/parallel/partcheck.cpp	2010-08-16 17:08:34 UTC (rev 4091)
+++ MOAB/trunk/test/parallel/partcheck.cpp	2010-08-16 21:25:25 UTC (rev 4092)
@@ -109,6 +109,12 @@
     }
   }
   
+  if (!input_file) {
+    std::cerr << argv[0] << ": no input file specified" << std::endl;
+    usage(argv[0]);
+  }
+  
+  
     // build options string
   
   std::ostringstream opts;
    
    
More information about the moab-dev
mailing list