summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-07-28 08:00:26 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-12-10 14:11:10 +0100
commit89b33ee126c6b5be0d84ca4647d5110bff990f9c (patch)
tree9837afec761683c7e126f4ccf278c8ad44717668 /urpm
parent6f710c926c8252eb9bc84dafd6675370d0e3efae (diff)
downloadurpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.tar
urpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.tar.gz
urpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.tar.bz2
urpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.tar.xz
urpmi-89b33ee126c6b5be0d84ca4647d5110bff990f9c.zip
Do not warn about 14y+ old behavior change (mga#26448)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 2dee2e6a..a6d489a2 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -270,7 +270,6 @@ my %options_spec = (
$options{recommends} = 1;
},
suggests => sub {
- $urpm->{error}("--suggests now displays the suggested packages, see --allow-suggests for previous behaviour");
$urpm->{error}("You should now use --recommends.");
$options{recommends} = 1;
},
@@ -285,10 +284,7 @@ my %options_spec = (
force => \$options{force},
'parallel=s' => \$options{parallel},
'env=s' => \$options{env},
- requires => sub {
- $urpm->{error}("--requires behaviour changed, use --requires-recursive to get the old behaviour");
- $options{requires} = 1;
- },
+ requires => sub { $options{requires} = 1 },
'requires-recursive|d' => \$options{deps},
u => \$options{upgrade},
a => \$options{all},