From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoolkit:master commit in: man/
Date: Sat, 17 Jun 2023 02:49:10 +0000 (UTC) [thread overview]
Message-ID: <1686970146.3c8109dc84b3f3d9262d842c50d2dca18dc4e5ac.sam@gentoo> (raw)
commit: 3c8109dc84b3f3d9262d842c50d2dca18dc4e5ac
Author: Alexis <flexibeast <AT> gmail <DOT> com>
AuthorDate: Thu Jun 15 02:34:49 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 02:49:06 2023 +0000
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=3c8109dc
equery.1: Add description of 'keywords' module, fix typo.
Signed-off-by: Alexis <flexibeast <AT> gmail.com>
Closes: https://github.com/gentoo/gentoolkit/pull/29
Signed-off-by: Sam James <sam <AT> gentoo.org>
man/equery.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 76 insertions(+), 2 deletions(-)
diff --git a/man/equery.1 b/man/equery.1
index 9cb046f..aed2094 100644
--- a/man/equery.1
+++ b/man/equery.1
@@ -1,4 +1,4 @@
-.TH "EQUERY" "1" "August 2009" "GENTOOLKIT" ""
+.TH "EQUERY" "1" "June 2023" "GENTOOLKIT" ""
.SH "NAME"
equery \- Gentoo Package Query Tool
@@ -307,7 +307,7 @@ Customize the output format of the matched packages using the template string \f
equery hasuse \-pI perl
.EE
.br
-View all Gentoo packages that have the "perl" USE flag, exluding installed packages.
+View all Gentoo packages that have the "perl" USE flag, excluding installed packages.
.EX
.HP
USE="perl"; for PKG in $(equery \-q hasuse $USE); do echo $PKG: $(equery \-q uses $PKG |grep $USE); done
@@ -315,6 +315,80 @@ USE="perl"; for PKG in $(equery \-q hasuse $USE); do echo $PKG: $(equery \-q use
.br
This Bash one\-liner uses \fBhasuse\fP to find a list of packages that have a certain USE flag, and \fBuses\fP to check whether the flag is enabled or disabled. Modify \fBUSE="perl"\fP to change the query.
+.SS
+.BI "keywords (y) [OPTIONS] " "PKG"
+Display keywords for specified \fIPKG\fP or for \fIPKG\fP that is in pwd.
+
+.I R "LOCAL OPTIONS" ":"
+.HP
+.B \-h, \-\-help
+.br
+Show this help message and exit.
+.HP
+.B \-v, \-\-version
+.br
+Show package version and exit.
+.HP
+.B \-a, \-\-arch \fIARCH\fP
+.br
+Display only specified arch(s). (default: []).
+.HP
+.B \-A, \-\-align [{top,bottom}]
+.br
+Specify alignment for descriptions. (default: bottom)
+.HP
+.B \-T, \-\-top-position [{archlist,versionlist}]
+.br
+Specify which fields we want to have in top listing. (default: archlist)
+.HP
+.B \-B, \-\-bold
+.br
+Print out each other column in bold for easier visual separation. (default: False)
+.HP
+.B \-C, \-\-color
+.br
+Force colored output. (default: False)
+.HP
+.B \-O, \-\-overlays
+.br
+Search also overlays. (default: False)
+.HP
+.B \-P, \-\-prefix
+.br
+Display prefix keywords in output. (default: False)
+.HP
+.B \-S, \-\-ignore-slot
+.br
+Treat slots as irrelevant during detection of redundant packages. (default: False)
+.P
+.I R "OUTPUT" ":"
+
+.EX
+Keywords for sys-apps/coreutils:
+ | | u |
+ | a a p s l r a | n |
+ | m r h p p i o i s l m m | e u s | r
+ | d a m p p c a x a o s 3 p 6 i | a s l | e
+ | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p
+ | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o
+----------+-------------------------------+-------+-------
+ 8.32-r1 | + + + + + + + + ~ o ~ ~ ~ ~ ~ | 7 # 0 | gentoo
+ 9.1-r2 | + + + + + + + + ~ ~ ~ ~ ~ ~ ~ | 7 o | gentoo
+ 9.2-r2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | 8 # | gentoo
+ 9.3 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | 8 # | gentoo
+ 9.3-r1 | + ~ ~ + + ~ + ~ ~ ~ ~ ~ ~ ~ ~ | 8 # | gentoo
+[I]9.3-r2 | + ~ ~ + + ~ + ~ ~ ~ ~ ~ ~ ~ ~ | 8 o | gentoo
+ 9999 | o o o o o o o o o o o o o o o | 8 o | gentoo
+.EE
+.P
+.I R "EXAMPLES" ":"
+.EX
+.HP
+equery keywords coreutils
+.EE
+.br
+Show the keywording status of the sys-apps/coreutils package on Gentoo-supported architectures.
+
.SS
.BI "list (l) [OPTIONS] " "PKG"
List installed versions of \fIPKG\fP or all packages matching the query pattern.
next reply other threads:[~2023-06-17 2:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-17 2:49 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-03 5:55 [gentoo-commits] proj/gentoolkit:master commit in: man/ Sam James
2024-05-03 5:55 Sam James
2023-12-03 7:51 Sam James
2022-12-14 9:43 Sam James
2022-07-09 2:41 Brian Dolbec
2022-03-17 18:03 Matt Turner
2022-03-17 18:03 Matt Turner
2021-06-18 14:03 Sam James
2017-03-22 20:09 Brian Dolbec
2017-03-22 19:59 Brian Dolbec
2017-03-22 19:59 Brian Dolbec
2016-05-18 15:14 Brian Dolbec
2016-05-18 14:38 Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1686970146.3c8109dc84b3f3d9262d842c50d2dca18dc4e5ac.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox