src/utils/qa/countRows.csh 1.13

1.13 2010/03/31 22:52:47 mary
changing usage statment and redirecting errors to stderr
Index: src/utils/qa/countRows.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/countRows.csh,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -B -U 4 -r1.12 -r1.13
--- src/utils/qa/countRows.csh	24 Mar 2010 17:18:18 -0000	1.12
+++ src/utils/qa/countRows.csh	31 Mar 2010 22:52:47 -0000	1.13
@@ -19,9 +19,9 @@
 if ($#argv < 2 || $#argv > 3) then
   echo
   echo "  gets the rowcount for a list of tables from dev, beta and RR."
   echo
-  echo "    usage:  database tablelist"
+  echo "    usage:  database tablelist [genome-mysql]"
   echo "      tablelist can be just name of single table"
   echo
   echo "    RR results not in real time, but from dumps"
     echo "    genome-mysql option adds results from public mysql server"
@@ -36,9 +36,9 @@
   if ( $argv[3] == "genome-mysql" ) then
     set doGenomeMysql=true
   else
     echo
-    echo 'error.  third argument must be "genome-mysql"'
+    echo 'error: third argument must be "genome-mysql"' > /dev/stderr
     $0
     echo
     exit 1
   endif
@@ -67,8 +67,9 @@
   echo "."$beta 
   echo
   echo "."$rr
   if ( $doGenomeMysql == true ) then
+    echo
     echo "."$genomeMysql
     echo
   endif
   echo