From: Sebastian Hammer Date: Thu, 14 Dec 1995 11:09:31 +0000 (+0000) Subject: Added Explain record syntax to the format command. X-Git-Tag: YAZ.1.8~837 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=53c17d9dc2f7c8355bbac800ed02862eb5780d4f;hp=78afbee947e1e4d6cd950e2fb9421abcdf1fbab4 Added Explain record syntax to the format command. --- diff --git a/client/client.c b/client/client.c index 9646c2e..9f24bd4 100644 --- a/client/client.c +++ b/client/client.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: client.c,v $ - * Revision 1.27 1995-12-12 16:37:02 quinn + * Revision 1.28 1995-12-14 11:09:31 quinn + * Added Explain record syntax to the format command. + * + * Revision 1.27 1995/12/12 16:37:02 quinn * Added destroy element to data1_node. * * Revision 1.26 1995/12/12 14:11:00 quinn @@ -891,6 +894,12 @@ int cmd_format(char *arg) recordsyntax = VAL_GRS1; return 1; } + else if (!strcmp(arg, "explain")) + { + printf("Preferred format is Explain\n"); + recordsyntax = VAL_EXPLAIN; + return 1; + } else { printf("Specify one of {sutrs,usmarc,danmarc,grs1}.\n");