d48d6f714ca9135230b8739a10ba9ab0b9ced3c3 kent Tue Apr 17 21:35:45 2012 -0700 Clarifying usage message. diff --git src/utils/verticalSplitSqlTable/verticalSplitSqlTable.c src/utils/verticalSplitSqlTable/verticalSplitSqlTable.c index 34dfb0a..1d91e43 100644 --- src/utils/verticalSplitSqlTable/verticalSplitSqlTable.c +++ src/utils/verticalSplitSqlTable/verticalSplitSqlTable.c @@ -6,32 +6,32 @@ #include "ra.h" #include "portable.h" #include "obscure.h" #include "errabort.h" #include "asParse.h" /* Command line options. */ boolean partialOk = FALSE; boolean mergeOk = FALSE; void usage() /* Explain usage and exit. */ { errAbort( "verticalSplitSqlTable - Split a database table into two new related tables that share a field.\n" - "Note, this program just creates tab-separated files for the split tables, it does not actually\n" - "alter the database.\n" + "Note, this program just works on tab-separated files for the split tables, it does not actually\n" + "use a database.\n" "usage:\n" " verticalSplitSqlTable oldTab oldAs splitSpec outDir\n" "where:\n" " oldTab is a tab-separated file for the unsplit table\n" " oldAs is an autoSql file describing the unsplit table\n" " splitSpec is a text file saying how to split the fields, see more below\n" " outDir is a directory that will get populated with files for creating split tables\n" "The splitSpec is a .ra formatted file with tags: table1 table2 fields1 fields2 sharedKey\n" "Here's an example of this that splits a 'driver' tabel into a 'person' and 'car' table\n" "Where the original driver table has the fields name, phone, ssn, carLicense, carMake, carModel\n" " table1 person\n" " fields1 name=name phone=phone ssn=ssn car=carLicense\n" " description1 A person's name, phone, and social security number\n" " table2 car\n" " fields2 license=carLicense make=carMake model=carModel\n"