[pacman-dev] [PATCH] Update the documentation of -Qs and -Ss

Nagy Gabor ngaba at bibl.u-szeged.hu
Sun Jun 14 14:15:26 EDT 2009


>From 26a3d52910e8c04794789bf2da7855a056a5886f Mon Sep 17 00:00:00 2001
From: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date: Sun, 14 Jun 2009 21:00:07 +0200
Subject: [PATCH] Update the documentation of -Qs and -Ss

It was undocumented that multiple regexps are interpreted using logical AND.

Thanks to Recursive@#archlinux for his help.

Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
---
 doc/pacman.8.txt |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index ca674ea..c8bedd2 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -233,7 +233,9 @@ Query Options[[QO]]
 
 *-s, \--search* <'regexp'>::
 	This will search each locally-installed package for names or
-	descriptions that match `regexp`.
+	descriptions that match `regexp`. When you include multiple search
+	terms, only packages with descriptions matching ALL of those terms will
+	be returned.
 
 *-t, \--unrequired*::
 	Restrict or filter output to packages not required by any currently
@@ -317,7 +319,9 @@ linkman:pacman.conf[5].
 
 *-s, \--search* <'regexp'>::
 	This will search each package in the sync databases for names or
-	descriptions that match `regexp`.
+	descriptions that match `regexp`. When you include multiple search
+	terms, only packages with descriptions matching ALL of those terms will
+	be returned.
 
 *-u, \--sysupgrade*::
 	Upgrades all packages that are out of date. Each currently-installed
-- 
1.6.0.3





More information about the pacman-dev mailing list