summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm6
1 files changed, 5 insertions, 1 deletions
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},