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 44742a9b..af7d02ef 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -216,7 +216,7 @@ my %options_spec = (
g => \$options{group},
p => \$options{use_provides},
P => sub { $options{use_provides} = 0 },
- R => \$options{what_requires},
+ R => sub { ++$options{what_requires} },
y => sub { $options{fuzzy} = $options{all} = 1 },
Y => sub { $options{fuzzy} = $options{all} = $options{caseinsensitive} = 1 },
v => \$options{verbose},