Fix a bug and a typo in mdb-schema

This commit is contained in:
whydoubt 2004-06-18 05:13:16 +00:00
parent 00d9fddc69
commit c99ce9815d
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ Fri Jun 18 00:08:24 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* 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 <brian@bruns.com>
* configure.in: temporarily remove building of reference manual. It broke 'make dist'

View File

@ -40,7 +40,7 @@ main (int argc, char **argv)
int opt;
if (argc < 2) {
fprintf (stderr, "Usage: [options] %s <file> [<backend>]\n",argv[0]);
fprintf (stderr, "Usage: %s [options] <file> [<backend>]\n",argv[0]);
fprintf (stderr, "where options are:\n");
fprintf (stderr, " -T <table> Only create schema for named table\n");
fprintf (stderr, " -N <namespace> 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);