aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-04-15 14:03:14 +0200
committerFabian Groffen <grobian@gentoo.org>2018-04-15 14:03:14 +0200
commit23c09a20dfcc044343b16bfe4b5873f663a46286 (patch)
treecaf079cf0032865376b17208b342fc4fe0acf2dc /man/include
parentqlop: accept "today" and "yesterday" for parse_date (diff)
downloadportage-utils-23c09a20dfcc044343b16bfe4b5873f663a46286.tar.gz
portage-utils-23c09a20dfcc044343b16bfe4b5873f663a46286.tar.bz2
portage-utils-23c09a20dfcc044343b16bfe4b5873f663a46286.zip
qfile: fix matching of files
A bit overenthusiastic check for files in the current directory caused weird directory prefixes to be ignored. Bug: https://bugs.gentoo.org/652720
Diffstat (limited to 'man/include')
-rw-r--r--man/include/qfile-01-owners.include9
1 files changed, 5 insertions, 4 deletions
diff --git a/man/include/qfile-01-owners.include b/man/include/qfile-01-owners.include
index c9ce378..a4bdc76 100644
--- a/man/include/qfile-01-owners.include
+++ b/man/include/qfile-01-owners.include
@@ -1,13 +1,14 @@
-.SH "FINDING FILES OWNERS"
+.SH "FINDING FILE OWNERS"
.PP
This is the default behavior of \fBqfile\fP. It will list the packages which
own the files (or directories, or symlinks, or anything else Portage can
-install) you are querying. Query items may be file paths or simple file names.
+install) you are querying. Query items may be file paths or simple file
+names when the \fB\-b\fP option is used.
By default, output includes packages names and the complete paths to
the matching files. If using \fB\-\-exact\fP, versions of the packages will
also be shown. At the contrary, when using \fB\-\-quiet\fP, only package
names are listed, without files paths. Finally, \fB\-\-verbose\fP is similar
-to \fB\-\-exact\fP, but may adds a few warnings. The return status of
+to \fB\-\-exact\fP, but may add a few warnings. The return status of
\fBqfile\fP will be \fI0\fP as soon as an owning package has been found for
one of the query items.
.PP
@@ -19,7 +20,7 @@ Find names of package(s) owning "/bin/bash":
.PP
Find package(s) owning any file named "bash", and show paths of this files:
.nf\fI
- $ qfile bash
+ $ qfile -b bash
app-shells/bash (/bin/bash)
app-shells/bash (/etc/bash)
.fi