Print

Print


Commit in slic/src on MAIN
CmdRegistry.cc+11-111.13 -> 1.14
JM: Remove number of args from help printout.

slic/src
CmdRegistry.cc 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- CmdRegistry.cc	23 Feb 2006 00:12:42 -0000	1.13
+++ CmdRegistry.cc	6 Jun 2006 21:40:15 -0000	1.14
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/CmdRegistry.cc,v 1.13 2006/02/23 00:12:42 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/CmdRegistry.cc,v 1.14 2006/06/06 21:40:15 jeremy Exp $
 #include "CmdRegistry.hh"
 
 using namespace std;
@@ -14,11 +14,11 @@
     os << std::endl;
 
     static const int opt_width = 8;
-    static const int mm_width = 10;
+    //static const int mm_width = 10;
     static const int descr_width = 15;
     static const int name_width = 16;
     static const int cmd_width = 24;
-    static const int sep_width = 123;
+    static const int sep_width = 60;
 
     os.width(opt_width);
     os << left << "Option";
@@ -26,11 +26,11 @@
     os.width(name_width);
     os << left << "Full Name";
 
-    os.width(mm_width);
-    os << left << "Min Args";
+    //os.width(mm_width);
+    //os << left << "Min Args";
 
-    os.width(mm_width);
-    os << left << "Max Args";
+    //os.width(mm_width);
+    //os << left << "Max Args";
 
     os.width(cmd_width);
     os << left << "Macro Command";
@@ -59,11 +59,11 @@
       os.width(name_width);
       os << left << name_str;
 
-      os.width(mm_width);
-      os << left << cl_opt->getMinArgs();
+      //os.width(mm_width);
+      //os << left << cl_opt->getMinArgs();
 
-      os.width(mm_width);
-      os << left << cl_opt->getMaxArgs();
+      //os.width(mm_width);
+      //os << left << cl_opt->getMaxArgs();
 
       os.width(cmd_width);
       os << left << iter->second;
CVSspam 0.2.8