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:
78afbee
)
Added Explain record syntax to the format command.
author
Sebastian Hammer
<quinn@indexdata.com>
Thu, 14 Dec 1995 11:09:31 +0000
(11:09 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Thu, 14 Dec 1995 11:09:31 +0000
(11:09 +0000)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
9646c2e
..
9f24bd4
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: client.c,v $
* 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
* 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;
}
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");
else
{
printf("Specify one of {sutrs,usmarc,danmarc,grs1}.\n");