[patch] bibupload --correct documentation fix

2009-04-29 Thread Ferran Jorba
Hi,

yesterday I ran 'bibupload --correct' for the first time in my test
machine, and it works great *except* that it is not stated in the public
documentation that both the tags *and* the indicators must be identical
in order to be replaced.  It is documented in the source code:

http://cdsware.cern.ch/repo/?p=cds-invenio.git;a=blob;f=modules/bibupload/lib/bibupload.py;h=47c88a583f73462d5200479b132ac7ac5e8d8964;hb=bbd312365602dcee3ba2904b1b3851c6b3f8e604#l1668

But not in the documentation
http://invenio-demo.cern.ch/help/admin/bibupload-admin-guide#3.2

This patch (relative to current git sources) may fix it.

Thanks,

Ferran
BibUpload: improve --correct documentation

Make clear that both the tags and the indicators must match when the
--correct option is used.

---
 modules/bibupload/doc/admin/bibupload-admin-guide.webdoc |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Index: cds-invenio/modules/bibupload/doc/admin/bibupload-admin-guide.webdoc
===
--- cds-invenio.orig/modules/bibupload/doc/admin/bibupload-admin-guide.webdoc	2009-04-29 08:51:21.0 +0200
+++ cds-invenio/modules/bibupload/doc/admin/bibupload-admin-guide.webdoc	2009-04-29 08:58:04.0 +0200
@@ -151,8 +151,9 @@
 
 -c, --correct Correct fields of existing records by those
   from XML MARC file.  The original record
-  content is modified only in the fields from
-  the XML MARC file: the original fields are
+  content is modified only on those fields from
+  the XML MARC file where both the tags and the
+  indicators match: the original fields are
   removed and replaced by those from the XML
   MARC file.  Fields not present in XML MARC
   file are not changed (unlike the -r option).


Re: [patch] bibupload --correct documentation fix

2009-04-29 Thread Tibor Simko
On Wed, 29 Apr 2009, Ferran Jorba wrote:
 BibUpload: improve --correct documentation

  modules/bibupload/doc/admin/bibupload-admin-guide.webdoc |5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

Thanks, committed.
http://cdsware.cern.ch/repo/?p=cds-invenio.git;a=commit;h=3247a02eb2e0ede46fe8f3549122e80d9d8d2cf5

Best regards
-- 
Tibor Simko ** CERN Document Server ** http://cds.cern.ch/