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

Florian Pritz bluewind at xinu.at
Sun Oct 25 16:06:59 UTC 2015


Signed-off-by: Florian Pritz <bluewind at xinu.at>
---

v2:
 - Document --refresh

 doc/pacman.8.txt | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 5c57450..38b8bb7 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,27 @@ 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.
+
+*-y, --refresh*::
+	Download fresh package databases from the server. Use twice to force a
+	refresh even if databases are up to date.
+
+*-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