summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2019-05-30 00:36:34 +0200
committerAllan McRae <allan@archlinux.org>2019-06-06 02:30:04 +0200
commitff1ae94c102cab487444bcdb0c76ee489c11dfe8 (patch)
tree56a7f58d0b8035fac065e2b70cc8b413081086df /doc
parenteb92bcb089a19dd456ce244732415660cf393a89 (diff)
downloadpacman-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.asciidoc14
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]]
----------------------------