summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-10 08:59:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-10 08:59:22 +0000
commit13d7dc173e8c83c12516cb9924b5cc7394d99f04 (patch)
tree2f2db9b39ffa47a3d395281b730c29795a8c9678 /urpm/args.pm
parentfd659327e68d34233126711de86b709ffec9a2af (diff)
downloadurpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.tar
urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.tar.gz
urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.tar.bz2
urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.tar.xz
urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.zip
- urpmi:
o handle --suggests (to override urpmi.cfg global option "no-suggests") (#36007)
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 209d73bc..58cbdacd 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -102,7 +102,7 @@ my %options_spec = (
force => \$::force,
justdb => \$options{justdb},
replacepkgs => \$options{replacepkgs},
- 'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 },
+ 'suggests!' => sub { $urpm->{options}{'no-suggests'} = !$_[1] },
'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 },
'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 },
'parallel=s' => \$::parallel,