From ff1ae94c102cab487444bcdb0c76ee489c11dfe8 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Wed, 29 May 2019 23:36:34 +0100 Subject: 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 --- doc/pacman.8.asciidoc | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'doc') 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]] ---------------------------- -- cgit v1.2.3-24-g4f1b