aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-02-15 00:20:43 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-05 16:45:33 +0100
commit95ab11ecffb473336a3cf4f84558b5d71e58f701 (patch)
tree249316ad35661ae27af5f95a2feb25bc3b89e3f1
parentb9c7d13d78cdb88e6b86da48f6af5d97f3df84ef (diff)
downloadperl-URPM-95ab11ecffb473336a3cf4f84558b5d71e58f701.tar
perl-URPM-95ab11ecffb473336a3cf4f84558b5d71e58f701.tar.gz
perl-URPM-95ab11ecffb473336a3cf4f84558b5d71e58f701.tar.bz2
perl-URPM-95ab11ecffb473336a3cf4f84558b5d71e58f701.tar.xz
perl-URPM-95ab11ecffb473336a3cf4f84558b5d71e58f701.zip
document search() options
-rw-r--r--URPM.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/URPM.pm b/URPM.pm
index 691fcc7..9f3cc73 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -401,9 +401,11 @@ Returns a list of C<URPM::Package> corresponding to the wanted <$name>
Search an RPM by name or by part of name in the list of RPMs represented by
this $urpm. The behaviour of the search is influenced by several options:
- strict_name => 0 / 1
- strict_fullname => 0 / 1
- src => 0 / 1
+=item strict_name only match short name (N) => 0 / 1
+
+=item strict_fullname only match fullname (NVRA) (fast) => 0 / 1
+
+=item src => look only for srpms => 0 / 1
=item $urpm->traverse($callback)