From: Adam Dickmeiss Date: Fri, 2 Dec 2005 16:13:50 +0000 (+0000) Subject: Put exit command last in list of commands - so 'e'='elements' X-Git-Tag: YAZ.2.1.12~55 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=b584d89b2b0ac60b56496762db23e33b1dd6d2fe Put exit command last in list of commands - so 'e'='elements' --- diff --git a/client/client.c b/client/client.c index 0feec98..9c44908 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.300 2005-11-09 17:47:50 adam Exp $ + * $Id: client.c,v 1.301 2005-12-02 16:13:50 adam Exp $ */ #include @@ -4295,7 +4295,6 @@ 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}, @@ -4366,6 +4365,7 @@ static struct { {"zversion", cmd_zversion, "", NULL, 0, NULL}, {"help", cmd_help, "", NULL,0,NULL}, {"init", cmd_init, "", NULL,0,NULL}, + {"exit", cmd_quit, "",NULL,0,NULL}, {0,0,0,0,0,0} };