a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/hg/hgsqldumpLocal/hgsqldumpLocal.c src/hg/hgsqldumpLocal/hgsqldumpLocal.c index 783c229..9d865e7 100644 --- src/hg/hgsqldumpLocal/hgsqldumpLocal.c +++ src/hg/hgsqldumpLocal/hgsqldumpLocal.c @@ -1,37 +1,36 @@ /* hgsqldump - Execute mysqldump using passwords from .hg.conf. */ #include "common.h" #include "options.h" #include "sqlProg.h" -static char const rcsid[] = "$Id: hgsqldumpLocal.c,v 1.3 2008/03/01 08:10:31 jzhu Exp $"; void usage() /* Explain usage and exit. */ { errAbort( "hgsqldumpLocal - Execute mysqldump using passwords from .hg.conf\n" "usage:\n" " hgsqldumpLocal [OPTIONS] database [tables]\n" "or:\n" " hgsqldumpLocal [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3 ...]\n" "or:\n" " hgsqldumpLocal [OPTIONS] --all-databases [OPTIONS]\n" "Generally anything in command line is passed to mysqldump\n" "\tafter an implicit '-u user -ppassword\n" "See also: mysqldump\n" "Note: directory for results must be writable by mysql. i.e. 'chmod 777 .'\n" "Which is a security risk, so remember to change permissions back after use.\n" "e.g.: hgsqldump --all -c --tab=. cb1" "\n\n" ); } int main(int argc, char *argv[]) /* Process command line. */ { if (argc <= 1) usage(); sqlExecProgLocal("mysqldump", NULL, argc-1, argv+1); return 0; /* never reaches here */ }