From 5af10f67675244612e58b8849eaf06e27d52b3d8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 2 Jun 2021 11:21:27 +0200 Subject: [PATCH] Fix configuration file example. --- man/epubgrep.1.adoc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/man/epubgrep.1.adoc b/man/epubgrep.1.adoc index 7fdf51b..bc6277d 100644 --- a/man/epubgrep.1.adoc +++ b/man/epubgrep.1.adoc @@ -2,7 +2,7 @@ :doctype: manpage :Author: tastytea :Email: tastytea@tastytea.de -:Date: 2021-06-01 +:Date: 2021-06-02 :Revision: 0.0.0 :man source: epubgrep :man manual: General Commands Manual @@ -119,15 +119,16 @@ occur more than once are merged. ==== Example configuration file -This example makes epubgrep ignore files which are not EPUB, suppress the file -names on output, print 2 words of context around matches (unless overridden on -the command line) and search for mentions of the words thyme and oregano in -every book. +This example makes epubgrep always search directories recursively, ignore files +which are not EPUB, not print the file names inside the EPUB, print 2 words of +context around matches (unless overridden on the command line) and search for +mentions of the words thyme and oregano in every book. [source,cfg] -------------------------------------------------------------------------------- +recursive = 1 ignore-archive-errors = 1 -no-filename = 1 +no-filename = in-epub context = 2 regexp = [Tt]hyme regexp = [Oo]regano