From 44e4d5a891e3f650f8f518b6903c0ce34260ee19 Mon Sep 17 00:00:00 2001 From: GRiker Date: Fri, 28 Jan 2011 06:43:47 -0700 Subject: [PATCH] GwR clarification of --fields switch for CLI --- src/calibre/library/catalog.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/library/catalog.py b/src/calibre/library/catalog.py index e20eebc517..bc6ff7f64f 100644 --- a/src/calibre/library/catalog.py +++ b/src/calibre/library/catalog.py @@ -53,6 +53,7 @@ class CSV_XML(CatalogPlugin): # {{{ 'database. Should be a comma-separated list of fields.\n' 'Available fields: %s,\n' 'plus user-created custom fields.\n' + 'Example: --fields=title,authors,tags\n' "Default: '%%default'\n" "Applies to: CSV, XML output formats")%', '.join(FIELDS)), @@ -230,6 +231,7 @@ class BIBTEX(CatalogPlugin): # {{{ help = _('The fields to output when cataloging books in the ' 'database. Should be a comma-separated list of fields.\n' 'Available fields: %s.\n' + 'Example: --fields=title,authors,tags\n' "Default: '%%default'\n" "Applies to: BIBTEX output format")%', '.join(FIELDS)), @@ -523,7 +525,7 @@ class BIBTEX(CatalogPlugin): # {{{ citation_bibtex= True else : citation_bibtex= opts.impcit - + #Check add file entry and go to default in case of bad CLI if isinstance(opts.addfiles, (StringType, UnicodeType)) : if opts.addfiles == 'False' :