Update of /cvsroot/monetdb/MonetDB5/src/tools
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30707
Modified Files:
monetdb.mx
Log Message:
For consistency, make create's argument to deliver a locked database -l,
instead of -m
Index: monetdb.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/tools/monetdb.mx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- monetdb.mx 29 Aug 2007 06:47:58 -0000 1.15
+++ monetdb.mx 31 Aug 2007 14:47:32 -0000 1.16
@@ -89,12 +89,12 @@
printf(" -l use long listing\n");
printf(" -s use short one-line listing\n");
} else if (strcmp(argv[1], "create") == 0) {
- printf("Usage: monetdb create [-m] database\n");
+ printf("Usage: monetdb create [-l] database\n");
printf(" Initialises a new database in the Sabaoth system.
A\n");
printf(" database created with this command makes it
available\n");
printf(" to Merovingian.\n");
printf("Options:\n");
- printf(" -m put the database in maintenance mode after
creation\n");
+ printf(" -l put the database in maintenance mode after
creation\n");
} else if (strcmp(argv[1], "destroy") == 0) {
printf("Usage: monetdb destroy [-f] database\n");
printf(" Removes the given database, including all its data
and\n");
@@ -448,14 +448,14 @@
char *dbname;
int maintenance = 0;
- if (strcmp(argv[1], "-m") == 0) {
+ if (strcmp(argv[1], "-l") == 0) {
if (argc == 2) {
command_help(2, &argv[-1]);
exit(1);
}
maintenance = 1;
dbname = argv[2];
- } else if (argc == 3 && strcmp(argv[2], "-m") == 0) {
+ } else if (argc == 3 && strcmp(argv[2], "-l") == 0) {
maintenance = 1;
dbname = argv[1];
} else {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins