Added 'exit' as an alternative for 'quit' in yaz-client
authorHeikki Levanto <heikki@indexdata.dk>
Wed, 24 Aug 2005 11:25:34 +0000 (11:25 +0000)
committerHeikki Levanto <heikki@indexdata.dk>
Wed, 24 Aug 2005 11:25:34 +0000 (11:25 +0000)
(Per's request)

NEWS
client/client.c

diff --git a/NEWS b/NEWS
index b24f44c..1a3547c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+Added 'exit' as synonym for 'quit' in yaz-client
+
 Possible compatibility problems with earlier versions marked with '*'.
 
 CQL module modified to be case insensitive for relations/indexes/operations.
 Possible compatibility problems with earlier versions marked with '*'.
 
 CQL module modified to be case insensitive for relations/indexes/operations.
index 6cad6d8..6be4576 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
  * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: client.c,v 1.295 2005-08-22 20:34:21 adam Exp $
+ * $Id: client.c,v 1.296 2005-08-24 11:25:34 heikki Exp $
  */
 
 #include <stdio.h>
  */
 
 #include <stdio.h>
@@ -4245,6 +4245,7 @@ static struct {
 } cmd_array[] = {
     {"open", cmd_open, "('tcp'|'ssl')':<host>[':'<port>][/<db>]",NULL,0,NULL},
     {"quit", cmd_quit, "",NULL,0,NULL},
 } cmd_array[] = {
     {"open", cmd_open, "('tcp'|'ssl')':<host>[':'<port>][/<db>]",NULL,0,NULL},
     {"quit", cmd_quit, "",NULL,0,NULL},
+    {"exit", cmd_quit, "",NULL,0,NULL},
     {"find", cmd_find, "<query>",NULL,0,NULL},
     {"delete", cmd_delete, "<setname>",NULL,0,NULL},
     {"base", cmd_base, "<base-name>",NULL,0,NULL},
     {"find", cmd_find, "<query>",NULL,0,NULL},
     {"delete", cmd_delete, "<setname>",NULL,0,NULL},
     {"base", cmd_base, "<base-name>",NULL,0,NULL},