src/hg/encode/encodePatchTdb/encodePatchTdb.c 1.6
1.6 2010/01/05 05:39:14 kent
Getting rid of unused command line options.
Index: src/hg/encode/encodePatchTdb/encodePatchTdb.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodePatchTdb/encodePatchTdb.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 4 -r1.5 -r1.6
--- src/hg/encode/encodePatchTdb/encodePatchTdb.c 5 Jan 2010 05:34:27 -0000 1.5
+++ src/hg/encode/encodePatchTdb/encodePatchTdb.c 5 Jan 2010 05:39:14 -0000 1.6
@@ -13,9 +13,8 @@
static char const rcsid[] = "$Id$";
char *clMode = "add";
char *clTest = NULL;
-static char *clRoot = "~/kent/src/hg/makeDb/trackDb"; /* Root dir of trackDb system. */
void usage()
/* Explain usage and exit. */
{
@@ -30,11 +29,8 @@
" replace - replace existing records rather than doing field by field update.\n"
" add - add new records at end of parent's subtrack list. Complain if record isn't new\n"
" warn if it's a new track rather than just new subtracks\n"
" -test=patchFile - rather than doing patches in place, write patched output to this file\n"
- " -root=/path/to/trackDb/root/dir - Sets the root directory of the trackDb.ra directory\n"
- " hierarchy to be given path. By default this is ~/kent/src/hg/makeDb/trackDb.\n"
- " -org=organism - try to put this at the organism level of the hierarchy instead of bottom\n"
, clMode
);
}
@@ -646,9 +642,8 @@
{
optionInit(&argc, argv, options);
if (argc != 3)
usage();
-clRoot = simplifyPathToDir(optionVal("root", clRoot));
clMode = optionVal("mode", clMode);
clTest = optionVal("test", clTest);
if (sameString(clMode, "add"))
glReplace = FALSE;