Fixed zmart -v
authorMartin Vidner <mvidner@suse.cz>
Mon, 4 Sep 2006 17:07:26 +0000 (17:07 +0000)
committerMartin Vidner <mvidner@suse.cz>
Mon, 4 Sep 2006 17:07:26 +0000 (17:07 +0000)
tools/zmart/zmart.cc

index 1f3ccce..4df7489 100644 (file)
@@ -91,6 +91,11 @@ int main(int argc, char **argv)
     return 1;
   }
 
+  if (vm.count("version")) {
+    cout << "zmart 0.1" << endl;
+    return 1;
+  }
+
   if (vm.count("disable-system-sources"))
   {
     MIL << "system sources disabled" << endl;