X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=b5a11ebadd1abf916745521e2b3b2657077802b0;hb=48fdd95e1a026cfcc20ddd2329f0bda940f936e2;hp=7f25a9d1360ed29aa3e5b5a8054a66260e2f4fb3;hpb=022ffdfe3ef1fd6f868cc870c829b92f08166113;p=yaz-moved-to-github.git 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 {