From 9c769f664d134e6add2ee21279f51b78889da9c5 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 24 May 2021 08:23:21 +0200 Subject: [PATCH] =?UTF-8?q?Clarify=20documentation:=20NUM=20=E2=86=92=20NU?= =?UTF-8?q?MBER.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- man/epubgrep.1.adoc | 4 ++-- src/options.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/epubgrep.1.adoc b/man/epubgrep.1.adoc index 0f65330..5b36cc2 100644 --- a/man/epubgrep.1.adoc +++ b/man/epubgrep.1.adoc @@ -52,8 +52,8 @@ Use additional _PATTERN_ for matching. Can be used more than once. *-a*, *--raw*:: Do not strip HTML before searching. -*-C* _NUM_, **context* _NUM_:: -Print _NUM_ words of context around matches. +*-C* _NUMBER_, **context* _NUMBER_:: +Print _NUMBER_ words of context around matches. == USAGE diff --git a/src/options.cpp b/src/options.cpp index 791cb11..f204296 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -69,8 +69,8 @@ po::variables_map parse_options(int argc, char *argv[]) ("raw,a", translate("Do not strip HTML before searching.").str().data()) ("context,C", po::value() - ->value_name(translate("NUM"))->default_value(0), - translate("Print NUM words of context around matches.").str().data()) + ->value_name(translate("NUMBER"))->default_value(0), + translate("Print NUMBER words of context around matches.").str().data()) ; po::options_description options_hidden("Hidden options");