summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-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,