summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 73665d9d..7505e1e0 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -245,8 +245,8 @@ my %options_spec = (
'parallel=s' => \$options{parallel},
'env=s' => \$options{env},
requires => sub {
- $urpm->{error}("option --requires is deprecated, use --requires-recursive instead");
- $options{deps} = 1;
+ $urpm->{error}("--requires behaviour changed, use --requires-recursive to get the old behaviour");
+ $options{requires} = 1;
},
'requires-recursive|d' => \$options{deps},
u => \$options{upgrade},