diff options
author | morganamilo <morganamilo@gmail.com> | 2019-05-30 00:36:34 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-06-06 02:30:04 +0200 |
commit | ff1ae94c102cab487444bcdb0c76ee489c11dfe8 (patch) | |
tree | 56a7f58d0b8035fac065e2b70cc8b413081086df /doc | |
parent | eb92bcb089a19dd456ce244732415660cf393a89 (diff) | |
download | pacman-ff1ae94c102cab487444bcdb0c76ee489c11dfe8.tar.gz pacman-ff1ae94c102cab487444bcdb0c76ee489c11dfe8.tar.xz |
pacman: rework the UI of -F
Reworks the UI of -F according to FS#47949
In short -F replaces both -Fs and -Fo.
Searching for an exact path (target contains "/"), causes the output to
switch to the old -Fo output. Otherwise the old -Fs output is used.
Also strip the leading "/" from targets like how -Qo does.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pacman.8.asciidoc | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/doc/pacman.8.asciidoc b/doc/pacman.8.asciidoc index fe95178d..68b62a90 100644 --- a/doc/pacman.8.asciidoc +++ b/doc/pacman.8.asciidoc @@ -488,14 +488,8 @@ File Options (apply to '-F')[[FO]] *-l, \--list*:: List the files owned by the queried package. -*-s, \--search*:: - Search package file names for matching strings. - *-x, --regex*:: - Treat arguments to '--search' as regular expressions. - -*-o, \--owns*:: - Search for packages that own a particular file. + Interpret each query as a regular expression. *-q, \--quiet*:: Show less information for certain file operations. This is useful when @@ -503,9 +497,9 @@ File Options (apply to '-F')[[FO]] '--machinereadable' instead. *--machinereadable*:: - Use a machine readable output format for '--list', '--search' and - '--owns'. The format is 'repository\0pkgname\0pkgver\0path\n' with '\0' - being the NULL character and '\n' a linefeed. + Print each match in a machine readable output format. The format is + 'repository\0pkgname\0pkgver\0path\n' with '\0' being the NULL character + and '\n' a linefeed. Handling Config Files[[HCF]] ---------------------------- |