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 525F4138332 for ; Tue, 3 Apr 2018 13:39:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FDA2E0B99; Tue, 3 Apr 2018 13:39:41 +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 22278E0B99 for ; Tue, 3 Apr 2018 13:39:41 +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 D7E1C335CCD for ; Tue, 3 Apr 2018 13:39:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99849264 for ; Tue, 3 Apr 2018 13:39:38 +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: <1522761201.81df4a8cfbd2998e43842440bb2d57d620b6ff7d.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/, / X-VCS-Repository: proj/portage-utils X-VCS-Files: man/include/qsearch.desc man/include/qsearch.optdesc.yaml man/qsearch.1 qsearch.c X-VCS-Directories: man/ / man/include/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 81df4a8cfbd2998e43842440bb2d57d620b6ff7d X-VCS-Branch: master Date: Tue, 3 Apr 2018 13:39:38 +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-Archives-Salt: 2a2c1f82-db43-416b-92f0-359845548474 X-Archives-Hash: fc5633e322baba4d18926235cfebe126 commit: 81df4a8cfbd2998e43842440bb2d57d620b6ff7d Author: Fabian Groffen gentoo org> AuthorDate: Tue Apr 3 13:13:21 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Apr 3 13:13:21 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=81df4a8c qsearch: improve documentation Bug: https://bugs.gentoo.org/645554 man/include/qsearch.desc | 3 +++ man/include/qsearch.optdesc.yaml | 2 ++ man/qsearch.1 | 36 ++++++++++++++++++++---------------- qsearch.c | 6 +++--- 4 files changed, 28 insertions(+), 19 deletions(-) diff --git a/man/include/qsearch.desc b/man/include/qsearch.desc new file mode 100644 index 0000000..281c5a3 --- /dev/null +++ b/man/include/qsearch.desc @@ -0,0 +1,3 @@ +\fIqsearch\fR performs a search over the name and/or description of +packages. By default, a search over all package names is performed over +all ebuilds in the tree. diff --git a/man/include/qsearch.optdesc.yaml b/man/include/qsearch.optdesc.yaml new file mode 100644 index 0000000..9bbaeaa --- /dev/null +++ b/man/include/qsearch.optdesc.yaml @@ -0,0 +1,2 @@ +verbose: Ignored for compatibility with other qapplets. +quiet: Ignored for compatibility with other qapplets. diff --git a/man/qsearch.1 b/man/qsearch.1 index 5f888ba..3c6032d 100644 --- a/man/qsearch.1 +++ b/man/qsearch.1 @@ -1,56 +1,60 @@ -.TH qsearch "1" "Mar 2016" "Gentoo Foundation" "qsearch" +.\" generated by mkman.py, please do NOT edit! +.TH qsearch "1" "Apr 2018" "Gentoo Foundation" "qsearch" .SH NAME qsearch \- search pkgname/desc .SH SYNOPSIS .B qsearch \fI[opts] \fR .SH DESCRIPTION - +\fIqsearch\fR performs a search over the name and/or description of +packages. By default, a search over all package names is performed over +all ebuilds in the tree. .SH OPTIONS .TP \fB\-a\fR, \fB\-\-all\fR -List the descriptions of every package in the cache +List the descriptions of every package in the cache. .TP \fB\-c\fR, \fB\-\-cache\fR -Use the portage cache (default) +Use the portage cache. .TP \fB\-e\fR, \fB\-\-ebuilds\fR -Use the portage ebuild tree +Use the portage ebuild tree (default). .TP \fB\-s\fR, \fB\-\-search\fR -Regex search package basenames +Regex search package basenames. .TP \fB\-S\fR \fI\fR, \fB\-\-desc\fR \fI\fR -Regex search package descriptions +Regex search package descriptions. .TP \fB\-N\fR, \fB\-\-name\-only\fR -Only show package name +Only show package name. .TP \fB\-H\fR, \fB\-\-homepage\fR -Show homepage info +Show homepage info. .TP \fB\-\-root\fR \fI\fR -Set the ROOT env var +Set the ROOT env var. .TP \fB\-v\fR, \fB\-\-verbose\fR -Make a lot of noise +Ignored for compatibility with other qapplets. .TP \fB\-q\fR, \fB\-\-quiet\fR -Tighter output; suppress warnings +Ignored for compatibility with other qapplets. .TP \fB\-C\fR, \fB\-\-nocolor\fR -Don't output color +Don't output color. .TP \fB\-h\fR, \fB\-\-help\fR -Print this help and exit +Print this help and exit. .TP \fB\-V\fR, \fB\-\-version\fR -Print version and exit +Print version and exit. .SH "REPORTING BUGS" Please report bugs via http://bugs.gentoo.org/ .br -Product: Portage Development; Component: Tools +Product: Portage Development; Component: Tools, Assignee: +portage-utils@gentoo.org .SH AUTHORS .nf Ned Ludd diff --git a/qsearch.c b/qsearch.c index a620f95..4fce4de 100644 --- a/qsearch.c +++ b/qsearch.c @@ -1,5 +1,5 @@ /* - * Copyright 2005-2014 Gentoo Foundation + * Copyright 2005-2018 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 * * Copyright 2005-2010 Ned Ludd - @@ -21,8 +21,8 @@ static struct option const qsearch_long_opts[] = { }; static const char * const qsearch_opts_help[] = { "List the descriptions of every package in the cache", - "Use the portage cache (default)", - "Use the portage ebuild tree", + "Use the portage cache", + "Use the portage ebuild tree (default)", "Regex search package basenames", "Regex search package descriptions", "Only show package name",