[Refdb-cvs] CVS: refdb/src refdbd.c,1.74,1.75
Status: Beta
Brought to you by:
mhoenicka
|
From: Markus H. <mho...@us...> - 2004-05-17 23:32:51
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32471 Modified Files: refdbd.c Log Message: added support for mods format Index: refdbd.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.c,v retrieving revision 1.74 retrieving revision 1.75 diff -u -U2 -r1.74 -r1.75 --- refdbd.c 16 Feb 2004 21:36:11 -0000 1.74 +++ refdbd.c 17 May 2004 23:32:40 -0000 1.75 @@ -1063,4 +1063,7 @@ ref_format = XNOTE; } + else if (strcmp(optarg, "mods") == 0) { + ref_format = MODS; + } else { /* default is screen */ ref_format = REFSCREEN; @@ -1221,5 +1224,5 @@ /* loop over all filename arguments */ for (; optind < ptr_child_clrequest->inargc; optind++) { - n_success += createdb(ptr_child_clrequest, ptr_child_clrequest->inargv[optind], db_encoding); + n_success += createdb(ptr_child_clrequest, ptr_child_clrequest->inargv[optind], db_encoding, ref_format); } |