src/hg/hgsql/hgsql.c 1.11

1.11 2010/03/23 23:19:18 markd
make functionality match usage message by making the database optional on the command line
Index: src/hg/hgsql/hgsql.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgsql/hgsql.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 4 -r1.10 -r1.11
--- src/hg/hgsql/hgsql.c	1 Mar 2008 07:55:20 -0000	1.10
+++ src/hg/hgsql/hgsql.c	23 Mar 2010 23:19:18 -0000	1.11
@@ -31,9 +31,9 @@
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
-if (argc <= 1)
+if (argc < 1)
     usage();
 hgsql(argc-1, argv+1);
 return 0;  /* never reaches here */
 }