From: Heikki Levanto Date: Wed, 24 Aug 2005 11:25:34 +0000 (+0000) Subject: Added 'exit' as an alternative for 'quit' in yaz-client X-Git-Tag: YAZXF2.1.4.2.2.release~3 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=26bc83eeda2418e09c32f2ca4c9327901568fe98;hp=43a7aff23f364fd3fac6e9746c53cda01be13738 Added 'exit' as an alternative for 'quit' in yaz-client (Per's request) --- diff --git a/NEWS b/NEWS index b24f44c..1a3547c 100644 --- 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. diff --git a/client/client.c b/client/client.c index 6cad6d8..6be4576 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * 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 @@ -4245,6 +4245,7 @@ static struct { } cmd_array[] = { {"open", cmd_open, "('tcp'|'ssl')':[':'][/]",NULL,0,NULL}, {"quit", cmd_quit, "",NULL,0,NULL}, + {"exit", cmd_quit, "",NULL,0,NULL}, {"find", cmd_find, "",NULL,0,NULL}, {"delete", cmd_delete, "",NULL,0,NULL}, {"base", cmd_base, "",NULL,0,NULL},