projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8619c87
)
Warn about unknown Z39.50 options
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 6 Jun 2005 07:25:47 +0000
(07:25 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 6 Jun 2005 07:25:47 +0000
(07:25 +0000)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
7f25a9d
..
b5a11eb
100644
(file)
--- 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 <stdio.h>
@@
-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
{