From f0e76f184e34bf34fb7257b108eebdf9d3e74257 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sun, 16 Aug 2009 13:22:15 -0400 Subject: [PATCH] header and footer regexs are gobal options. --- src/calibre/ebooks/conversion/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/conversion/cli.py b/src/calibre/ebooks/conversion/cli.py index f705523312..d956c08112 100644 --- a/src/calibre/ebooks/conversion/cli.py +++ b/src/calibre/ebooks/conversion/cli.py @@ -126,7 +126,8 @@ def add_pipeline_options(parser, plumber): 'margin_top', 'margin_left', 'margin_right', 'margin_bottom', 'dont_justify', 'insert_blank_line', 'remove_paragraph_spacing', - 'asciiize', + 'asciiize', 'remove_header', 'header_regex', + 'remove_footer', 'footer_regex', ] ),