summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-25 14:10:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-25 14:10:34 +0000
commit00923f1878f8bdc6b81f8242659bc4249526a2b8 (patch)
tree07d5045c07b828120d89dec7f46a19e8e741842e /urpm/args.pm
parentee089b81f89931bc8c9b80b173fa7a53ec1ecd07 (diff)
downloadurpmi-00923f1878f8bdc6b81f8242659bc4249526a2b8.tar
urpmi-00923f1878f8bdc6b81f8242659bc4249526a2b8.tar.gz
urpmi-00923f1878f8bdc6b81f8242659bc4249526a2b8.tar.bz2
urpmi-00923f1878f8bdc6b81f8242659bc4249526a2b8.tar.xz
urpmi-00923f1878f8bdc6b81f8242659bc4249526a2b8.zip
- urpmq:
o --requires now display the raw requires, use --requires-recursive to get the old behaviour (#29176)
Diffstat (limited to 'urpm/args.pm')
-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},