From b485d3094b5cad9cb59cb4a6d19a9cb1a8a95bf9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Aug 2014 17:20:40 +0200 Subject: rename "no_suggests" option as "no_recommends" --- NEWS | 1 + URPM/Resolve.pm | 4 ++-- 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; -- cgit v1.2.1