From: Adam Dickmeiss Date: Mon, 6 Jun 2005 07:25:47 +0000 (+0000) Subject: Warn about unknown Z39.50 options X-Git-Tag: YAZ.2.1.8~12 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=85f1d1a0c611b54db8dd799e3b59be04a873c54e;p=yaz-moved-to-github.git Warn about unknown Z39.50 options --- diff --git a/client/client.c b/client/client.c index 7f25a9d..b5a11eb 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.282 2005-05-20 06:22:48 ja7 Exp $ + * $Id: client.c,v 1.283 2005-06-06 07:25:47 adam Exp $ */ #include @@ -2283,6 +2283,8 @@ static int cmd_options(const char *arg) int r; int pos; r = yaz_init_opt_encode(&z3950_options, arg, &pos); + if (r == -1) + printf("Unknown option(s) near %s\n", arg+pos); } else {