From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 91724138346 for ; Mon, 6 Jan 2020 15:03:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1EDFE088D; Mon, 6 Jan 2020 15:03:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A652FE088D for ; Mon, 6 Jan 2020 15:03:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB3B534DDEA for ; Mon, 6 Jan 2020 15:03:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC7651E for ; Mon, 6 Jan 2020 15:03:22 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1578322987.88bd510b4bd83123cd8c1c4920a8e655584ea2db.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: /, man/ X-VCS-Repository: proj/portage-utils X-VCS-Files: man/qgrep.1 qgrep.c X-VCS-Directories: / man/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 88bd510b4bd83123cd8c1c4920a8e655584ea2db X-VCS-Branch: master Date: Mon, 6 Jan 2020 15:03:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ff3eedf1-3e5f-4c3c-b73a-3c7462b364e7 X-Archives-Hash: 4aecd08be8778119ce82537dbe093989 commit: 88bd510b4bd83123cd8c1c4920a8e655584ea2db Author: Fabian Groffen gentoo org> AuthorDate: Mon Jan 6 15:03:07 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Jan 6 15:03:07 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=88bd510b qgrep: fix description for -N Signed-off-by: Fabian Groffen gentoo.org> man/qgrep.1 | 6 +++--- qgrep.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/man/qgrep.1 b/man/qgrep.1 index e414ba4..2d73f4c 100644 --- a/man/qgrep.1 +++ b/man/qgrep.1 @@ -1,5 +1,5 @@ .\" generated by mkman.py, please do NOT edit! -.TH qgrep "1" "Nov 2019" "Gentoo Foundation" "qgrep" +.TH qgrep "1" "Jan 2020" "Gentoo Foundation" "qgrep" .SH NAME qgrep \- grep in ebuilds .SH SYNOPSIS @@ -20,8 +20,8 @@ Select non-matching lines. \fB\-i\fR, \fB\-\-ignore\-case\fR Ignore case distinctions. .TP -\fB\-N\fR, \fB\-\-with\-name\fR -Print the filename for each match. +\fB\-N\fR, \fB\-\-atom\-name\fR +Print the atom instead of filename for each match. .TP \fB\-c\fR, \fB\-\-count\fR Only print a count of matching lines per FILE. diff --git a/qgrep.c b/qgrep.c index 4d8c27f..019b0b6 100644 --- a/qgrep.c +++ b/qgrep.c @@ -28,7 +28,7 @@ static struct option const qgrep_long_opts[] = { {"invert-match", no_argument, NULL, 'I'}, {"ignore-case", no_argument, NULL, 'i'}, - {"with-name", no_argument, NULL, 'N'}, + {"atom-name", no_argument, NULL, 'N'}, {"count", no_argument, NULL, 'c'}, {"list", no_argument, NULL, 'l'}, {"invert-list", no_argument, NULL, 'L'}, @@ -46,7 +46,7 @@ static struct option const qgrep_long_opts[] = { static const char * const qgrep_opts_help[] = { "Select non-matching lines", "Ignore case distinctions", - "Print the filename for each match", + "Print the atom instead of filename for each match", "Only print a count of matching lines per FILE", "Only print FILE names containing matches", "Only print FILE names containing no match",