From 231ec20cd573fe5e522ac0b983ba497928d15125 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 20 May 2021 11:43:35 +0200 Subject: [PATCH] =?UTF-8?q?Rename=20input=20=E2=86=92=20input-file.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/options.cpp | 6 +++--- translations/de.po | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/options.cpp b/src/options.cpp index b823351..65a01a6 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -57,14 +57,14 @@ po::variables_map parse_options(int argc, char *argv[]) .str().data()) ("regexp", po::value()->value_name(translate("PATTERN")), translate("Use PATTERN for matching.").str().data()) - ("input", po::value>() + ("input-file", po::value>() ->value_name(translate("FILE")), - translate("Input files. Can be repeated.").str().data()) + translate("Input file. Can be used more than once.").str().data()) ; // clang-format on po::positional_options_description positional_desc; - positional_desc.add("regexp", 1).add("input", -1); + positional_desc.add("regexp", 1).add("input-file", -1); po::variables_map vm; po::store(po::command_line_parser(argc, argv) diff --git a/translations/de.po b/translations/de.po index 3b3efaa..5227cd0 100644 --- a/translations/de.po +++ b/translations/de.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: epubgrep 0.0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-05-20 11:32+0200\n" -"PO-Revision-Date: 2021-05-20 11:31+0200\n" +"POT-Creation-Date: 2021-05-20 11:37+0200\n" +"PO-Revision-Date: 2021-05-20 11:38+0200\n" "Last-Translator: tastytea \n" "Language-Team: tastytea \n" "Language: de\n" @@ -50,8 +50,8 @@ msgid "Ignore case distinctions in pattern and data." msgstr "Unterschied zwischen Groß- und Kleinschreibung ignorieren." #: /home/tastytea/Projekte/epubgrep/translations/../src/options.cpp:62 -msgid "Input files. Can be repeated." -msgstr "Eingabedateien. Kann wiederholt werden." +msgid "Input file. Can be used more than once." +msgstr "Eingabedateien. Kann mehr als einmal angegeben werden." #: /home/tastytea/Projekte/epubgrep/translations/../src/options.cpp:58 msgid "PATTERN"