From c99ce9815d8c5a947898e95369357499074f20bd Mon Sep 17 00:00:00 2001 From: whydoubt Date: Fri, 18 Jun 2004 05:13:16 +0000 Subject: [PATCH] Fix a bug and a typo in mdb-schema --- ChangeLog | 1 + src/util/mdb-schema.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a1e63f6..0590af8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ Fri Jun 18 00:08:24 CDT 2004 Jeff Smith * src/libmdb/index.c: * src/libmdb/mem.c: * include/mdbtools.h: Reconcile code/documentation inconsistencies + * src/util/mdb-schema.c: Fix a bug and a typo in mdb-schema Thu Jun 17 20:56:44 EDT 2004 Brian Bruns * configure.in: temporarily remove building of reference manual. It broke 'make dist' diff --git a/src/util/mdb-schema.c b/src/util/mdb-schema.c index 076d340..a4a12a6 100644 --- a/src/util/mdb-schema.c +++ b/src/util/mdb-schema.c @@ -40,7 +40,7 @@ main (int argc, char **argv) int opt; if (argc < 2) { - fprintf (stderr, "Usage: [options] %s []\n",argv[0]); + fprintf (stderr, "Usage: %s [options] []\n",argv[0]); fprintf (stderr, "where options are:\n"); fprintf (stderr, " -T Only create schema for named table\n"); fprintf (stderr, " -N Prefix identifiers with namespace\n"); @@ -48,7 +48,7 @@ main (int argc, char **argv) exit (1); } - while ((opt=getopt(argc, argv, "T:N:S:"))!=-1) { + while ((opt=getopt(argc, argv, "T:N:S"))!=-1) { switch (opt) { case 'T': tabname = (char *) g_strdup(optarg);