aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-12-27 17:55:58 +0100
committerFabian Groffen <grobian@gentoo.org>2019-12-27 17:55:58 +0100
commit032bd7e9200d1071b79f3a5d33906020fc805048 (patch)
treee32668bf74caf8f564b369e4a48ff20703a5c601 /man
parentlibq/set: add array_set function (diff)
downloadportage-utils-032bd7e9200d1071b79f3a5d33906020fc805048.tar.gz
portage-utils-032bd7e9200d1071b79f3a5d33906020fc805048.tar.bz2
portage-utils-032bd7e9200d1071b79f3a5d33906020fc805048.zip
main: add masks support
Expose masks via q -m, store masks in preparation for applying masks when listing available ebuilds. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r--man/include/q.desc2
-rw-r--r--man/q.113
2 files changed, 14 insertions, 1 deletions
diff --git a/man/include/q.desc b/man/include/q.desc
index 7109c467..7d38ba2b 100644
--- a/man/include/q.desc
+++ b/man/include/q.desc
@@ -6,3 +6,5 @@ After version 0.74 of portage-utils, the cache functionality was removed
in favour of using various trees directly, and optionally the caches
therein. As such the \fB-r\fR and \fB-m\fR options were removed. It is
no longer necessary to initialise the cache at any time.
+.P
+After version 0.82, the \fB-m\fR flag got repurposed for listing masks.
diff --git a/man/q.1 b/man/q.1
index 886b00f1..21a09b37 100644
--- a/man/q.1
+++ b/man/q.1
@@ -1,5 +1,5 @@
.\" generated by mkman.py, please do NOT edit!
-.TH q "1" "Nov 2019" "Gentoo Foundation" "q"
+.TH q "1" "Dec 2019" "Gentoo Foundation" "q"
.SH NAME
q \- invoke a portage utility applet
.SH SYNOPSIS
@@ -14,6 +14,8 @@ After version 0.74 of portage-utils, the cache functionality was removed
in favour of using various trees directly, and optionally the caches
therein. As such the \fB-r\fR and \fB-m\fR options were removed. It is
no longer necessary to initialise the cache at any time.
+.P
+After version 0.82, the \fB-m\fR flag got repurposed for listing masks.
.SH OPTIONS
.TP
\fB\-i\fR, \fB\-\-install\fR
@@ -26,6 +28,15 @@ see the source (file) where the overlay was declared.
\fB\-e\fR, \fB\-\-envvar\fR
Print used environment variables and found values. Use \fI-v\fR to
see the source (file, environment) where the variable was declared.
+Additional arguments are treated as variable names to print the
+values for. If just one name is given, only the value is printed if
+matched. When no arguments or more than one argument is given, the
+variable name and the value is printed as a shell-style declaration.
+.TP
+\fB\-m\fR, \fB\-\-masks\fR
+Print the masks from package.mask files found. Use \fI-v\fR to see
+the source (file) where the mask was declared. Additional arguments
+are treated as atom selectors which must match the masks.
.TP
\fB\-\-root\fR \fI<arg>\fR
Set the ROOT env var.