X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=9f44998e74778694729ce93c7fb0762edb58ccb3;hb=9cc8f4a4d0fd7f1e4bd6c9d5c85ef2dccaab5743;hp=033aea12b6602d76718c97882449fdc91b660c2e;hpb=5a63f1bd6974a0fdd748d48ac791a414528f432e;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index 033aea1..9f44998 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.275 2005-03-06 12:54:32 adam Exp $ + * $Id: client.c,v 1.276 2005-04-20 12:59:51 adam Exp $ */ #include @@ -4447,6 +4447,12 @@ int main(int argc, char **argv) strcpy (open_command, "open "); strcat (open_command, arg); } + else + { + fprintf(stderr, "%s: Specify at most one server address\n", + prog); + exit(1); + } break; case 'd': dump_file_prefix = arg;