983a72ac8888109a38adc922985eb110702d1af0
hiram
  Wed Oct 26 14:23:12 2016 -0700
improve usage message refs #13553

diff --git src/hg/genePredCheck/genePredCheck.c src/hg/genePredCheck/genePredCheck.c
index 99c3a16..f8321a8 100644
--- src/hg/genePredCheck/genePredCheck.c
+++ src/hg/genePredCheck/genePredCheck.c
@@ -18,39 +18,38 @@
     {NULL, 0}
 };
 char *gDb = NULL;
 char *gChromSizes = NULL;
 int gErrCount = 0;  /* global count of errors */
 int gChkCount = 0;  /* global count of genes checked */
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "genePredCheck - validate genePred files or tables\n"
   "usage:\n"
   "   genePredCheck [options] fileTbl ..\n"
   "\n"
-  "If fileTbl is an existing file, then it is check.  Otherwise, if -db\n"
-  "is provided, then a table by this name is checked.\n"
+  "If fileTbl is an existing file, then it is checked.  Otherwise, if -db\n"
+  "is provided, then a table by this name in db is checked.\n"
   "\n"
   "options:\n"
   "   -db=db - If specified, then this database is used to\n"
   "          get chromosome sizes, and perhaps the table to check.\n"
-  "   -chromSizes=chromSizes - return chromSizes from tab separated\n"
-  "    file\n"
-  "\n");
+  "   -chromSizes=file.chrom.sizes - use chrom sizes from tab separated\n"
+  "          file (name,size) instead of from chromInfo table in specified db.");
 }
 
 static void checkAGenePred(char *fileTbl, int iRec, struct genePred *gp,
                            struct hash* chromSizes)
 /* check one genePred */
 {
 char desc[2*PATH_LEN];
 
 safef(desc, sizeof(desc), "%s:%d", fileTbl, iRec);
 if (chromSizes != NULL)
     gErrCount += genePredCheckChromSizes(desc, stderr, gp, chromSizes);
 else
     gErrCount += genePredCheckDb(desc, stderr, gDb, gp);
 gChkCount++;
 }