e70152e44cc66cc599ff6b699eb8adc07f3e656a
kent
  Sat May 24 21:09:34 2014 -0700
Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment.
diff --git src/hg/hgsqlLocal/hgsqlLocal.c src/hg/hgsqlLocal/hgsqlLocal.c
index 3bb1d56..e3f19ec 100644
--- src/hg/hgsqlLocal/hgsqlLocal.c
+++ src/hg/hgsqlLocal/hgsqlLocal.c
@@ -1,38 +1,41 @@
 /* hgsql - Execute some sql code using passwords in .hg.conf. */
+
+/* Copyright (C) 2011 The Regents of the University of California 
+ * See README in this or parent directory for licensing information. */
 #include "common.h"
 #include "options.h"
 #include "hgConfig.h"
 #include "sqlProg.h"
 
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "hgsqlLocal - Execute some sql code using localDb.XXX in .hg.conf\n"
   "usage:\n"
   "   hgsqlLocal [mysqlOptions] [database]\n"
   "or:\n"
   "   hgsqlLocal [mysqlOptions] [database] < file.sql\n"
   "Generally anything in command line is passed to mysql\n"
   "after an implicit '-A -u user -ppassword'.  If no options\n"
   "or database is specified, this usage message is printed."
   "\n"
   );
 }
 
 void hgsqlLocal(int argc, char *argv[])
 /* hgsql - Execute some sql code using passwords in .hg.conf. */
 {
 static char *progArgs[] = {"-A", NULL};
 sqlExecProgLocal("mysql", progArgs, argc, argv);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 if (argc <= 1)
     usage();
 hgsqlLocal(argc-1, argv+1);
 return 0;  /* never reaches here */
 }