aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-08-27 17:20:40 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-12 23:11:58 +0200
commitb485d3094b5cad9cb59cb4a6d19a9cb1a8a95bf9 (patch)
treeba30f52e44df6ab3ceac0144a1d598059212076c
parentf7c6659ff58213f0ec96a6597937b6adb6c6cfd1 (diff)
downloadperl-URPM-b485d3094b5cad9cb59cb4a6d19a9cb1a8a95bf9.tar
perl-URPM-b485d3094b5cad9cb59cb4a6d19a9cb1a8a95bf9.tar.gz
perl-URPM-b485d3094b5cad9cb59cb4a6d19a9cb1a8a95bf9.tar.bz2
perl-URPM-b485d3094b5cad9cb59cb4a6d19a9cb1a8a95bf9.tar.xz
perl-URPM-b485d3094b5cad9cb59cb4a6d19a9cb1a8a95bf9.zip
rename "no_suggests" option as "no_recommends"
-rw-r--r--NEWS1
-rw-r--r--URPM/Resolve.pm4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index d6d9464..3ab18aa 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@
- add support for generating @recommends@ lines instead of @suggests@ ones in
synthesis
- rename *suggests* subs as *recommends*
+- rename "no_suggests" option as "no_recommends"
Version 4.31 - 27 June 2014
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 2b5bcc7..a3d68bc 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1084,7 +1084,7 @@ The following options are recognized :
=item nodeps :
-=item no_suggests: ignore recommends tags
+=item no_recommends: ignore recommends tags
=back
@@ -1097,7 +1097,7 @@ sub resolve_requested {
my @selected = resolve_requested__no_recommends($urpm, $db, $state, $requested, %options);
- if (!$options{no_suggests}) {
+ if (!$options{no_recommends}) {
@selected = resolve_requested_recommends($urpm, $db, $state, \@selected, %options);
}
@selected;