Update of /cvsroot/monetdb/MonetDB5/src/tools
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30424/src/tools

Modified Files:
        mserver5.mx.in 
Log Message:
fixes (cleanup) of option list


Index: mserver5.mx.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/tools/mserver5.mx.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- mserver5.mx.in      13 May 2007 16:15:20 -0000      1.10
+++ mserver5.mx.in      2 Jun 2007 09:56:20 -0000       1.11
@@ -326,7 +326,7 @@
        str dbinit = NULL;
        str err = MAL_SUCCEED;
 
-       static struct option long_options[22] = {
+       static struct option long_options[] = {
                {"config", 1, 0, 'c'},
                {"dbname", 1, 0, 0},
                {"dbfarm", 1, 0, 0},
@@ -334,7 +334,6 @@
                {"daemon", 1, 0, 0},
                {"debug", 2, 0, 'd'},
                {"delay", 1, 0, 0},
-               {"help", 2, 0, 'h'},
                {"help", 0, 0, '?'},
                {"version", 0, 0, 0},
                {"set", 1, 0, 's'},
@@ -410,7 +409,7 @@
        for (;;) {
                int option_index = 0;
 
-               int c = getopt_long(argc, av, "c:d:t:r:?:s:m:i:a:e:x",
+               int c = getopt_long(argc, av, "c:d::t:r:h?s:m:i:a:e:x",
                                    long_options, &option_index);
 
                if (c == -1)


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to