src/hg/utils/tdbQuery/tdbQuery.c 1.13

1.13 2009/12/03 20:28:58 kent
Removing unimplemented 'file' option from usage statement.
Index: src/hg/utils/tdbQuery/tdbQuery.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/utils/tdbQuery/tdbQuery.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -B -U 4 -r1.12 -r1.13
--- src/hg/utils/tdbQuery/tdbQuery.c	3 Dec 2009 20:06:06 -0000	1.12
+++ src/hg/utils/tdbQuery/tdbQuery.c	3 Dec 2009 20:28:58 -0000	1.13
@@ -13,9 +13,8 @@
 
 static char const rcsid[] = "$Id$";
 
 static char *clRoot = "~/kent/src/hg/makeDb/trackDb";	/* Root dir of trackDb system. */
-static char *clFile = NULL;		/* a .ra file to use instead of trackDb system. */
 static boolean clCheck = FALSE;		/* If set perform lots of checks on input. */
 static boolean clStrict = FALSE;	/* If set only return tracks with actual tables. */
 static boolean clAlpha = FALSE;		/* If set include release alphas, exclude release beta. */
 
@@ -40,12 +39,10 @@
 "   tdbQuery \"select *Label from mm9\"\n"
 "prints all fields that end in 'Label' from the mm9 trackDb.\n"
 "OPTIONS:\n"
 "   -root=/path/to/trackDb/root/dir\n"
-"Sets the root directory of the trackDb.ra directory hierarchy to be given path.\n"
-"   -file=someFile.ra\n"
-"The file option  makes the system use the given .ra file instead of the trackDb.ra directory \n"
-"hierarchy\n"
+"Sets the root directory of the trackDb.ra directory hierarchy to be given path. By default\n"
+"this is ~/kent/src/hg/makeDb/trackDb.\n"
 "   -check\n"
 "Check that trackDb is internally consistent.  Prints diagnostic output to stderr and aborts if \n"
 "there's problems.\n"
 "   -strict\n"
@@ -57,9 +54,8 @@
 
 
 static struct optionSpec options[] = {
    {"root", OPTION_STRING},
-   {"file", OPTION_STRING},
    {"check", OPTION_BOOLEAN},
    {"strict", OPTION_BOOLEAN},
    {"alpha", OPTION_BOOLEAN},
    {NULL, 0},
@@ -871,9 +867,8 @@
 optionInit(&argc, argv, options);
 if (argc != 2)
     usage();
 clRoot = optionVal("root", clRoot);
-clFile = optionVal("file", clFile);
 clCheck = optionExists("check");
 clStrict = optionExists("strict");
 clAlpha = optionExists("alpha");
 tdbQuery(argv[1]);