diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-07-28 08:00:26 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-12-10 14:11:10 +0100 |
commit | 89b33ee126c6b5be0d84ca4647d5110bff990f9c (patch) | |
tree | 9837afec761683c7e126f4ccf278c8ad44717668 | |
parent | 6f710c926c8252eb9bc84dafd6675370d0e3efae (diff) | |
download | urpmi-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)
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | urpm/args.pm | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -1,5 +1,7 @@ - cpan_testers: o Skip mirrorlist tests if there's only one broken mirror such as on mga[1-6] +- urpmq: + o --requires/suggests: do not warn about 14y+ old behavior change (mga#26448) Version 8.128 - 5 November 2022 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}, |