From da6ef9988aa1168ae091569ef249cf8d32866f32 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 5 Sep 2014 16:46:54 +0200 Subject: rename '--suggests' option as '--recommends' --- urpm/args.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'urpm/args.pm') diff --git a/urpm/args.pm b/urpm/args.pm index ccaa8e42..163caa62 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -266,9 +266,13 @@ my %options_spec = ( provides => \$options{provides}, sourcerpm => \$options{sourcerpm}, 'summary|S' => \$options{summary}, + recommends => sub { + $options{recommends} = 1; + }, suggests => sub { $urpm->{error}("--suggests now displays the suggested packages, see --allow-suggests for previous behaviour"); - $options{suggests} = 1; + $urpm->{error}("You should now use --recommends."); + $options{recommends} = 1; }, 'list-media:s' => sub { $options{list_media} = $_[1] || 'all' }, 'list-url' => \$options{list_url}, -- cgit v1.2.1