[cig-commits] r11428 - cs/benchmark/cigma/trunk/src

luis at geodynamics.org luis at geodynamics.org
Wed Mar 12 11:03:32 PDT 2008


Author: luis
Date: 2008-03-12 11:03:31 -0700 (Wed, 12 Mar 2008)
New Revision: 11428

Modified:
   cs/benchmark/cigma/trunk/src/ListCmd.cpp
Log:
Updated usage string for ListCmd


Modified: cs/benchmark/cigma/trunk/src/ListCmd.cpp
===================================================================
--- cs/benchmark/cigma/trunk/src/ListCmd.cpp	2008-03-12 18:03:29 UTC (rev 11427)
+++ cs/benchmark/cigma/trunk/src/ListCmd.cpp	2008-03-12 18:03:31 UTC (rev 11428)
@@ -30,7 +30,8 @@
 
     /* setup usage */
     opt->addUsage("Usage:");
-    opt->addUsage("   cigma list FILE");
+    opt->addUsage("   cigma list <file>.h5");
+    opt->addUsage("   cigma list <file>.vtk");
 
     /* setup flags and options */
     opt->setFlag("help", 'h');
@@ -53,6 +54,10 @@
         filename = in;
     }
 
+    if (filename == "")
+    {
+        opt->printUsage();
+    }
     return;
 }
 



More information about the cig-commits mailing list