[pacman-dev] [PATCH 1/2] Document pacman -F

Florian Pritz bluewind at xinu.at
Sun Oct 25 15:30:00 UTC 2015


Signed-off-by: Florian Pritz <bluewind at xinu.at>
---
 doc/pacman.8.txt | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 5c57450..a4dd1f0 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -110,6 +110,11 @@ greater than `1:3.6-1`.
 	Options>> below; also see <<HCF,Handling Config Files>> for an explanation
 	on how pacman takes care of configuration files.
 
+*-F, \--files*::
+	Query the files database. This operation allows you to look for package
+	owning certain files or display files owned by certain packages. See
+	<<FO,File Options>> below.
+
 *-V, \--version*::
 	Display version and exit.
 
@@ -451,6 +456,23 @@ Database Options[[QO]]
 	a check on the sync databases to ensure all specified dependencies
 	are available.
 
+File Options[[FO]]
+------------------
+
+The '--list', '--search' and '--owns' options are exclusive and can not be combined.
+
+*-l <package>, \--list <package>*::
+	List the files owned by the queried package.
+
+*-s <pattern>, \--search <pattern>*::
+	Search package file names for matching strings.
+
+*-x, --regex*::
+	Treat arguments to '--search' as regular expressions.
+
+*-o <file>, \--owns<file>*::
+	Search for packages that own a particular file.
+
 
 Handling Config Files[[HCF]]
 ----------------------------
-- 
2.6.2


More information about the pacman-dev mailing list