summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
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 4c2f62bc..5ec2c23d 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -109,7 +109,7 @@ my %options_spec = (
'root=s' => \$::root,
'use-distrib=s' => \$::usedistrib,
'excludepath|exclude-path=s' => sub { $urpm->{options}{excludepath} = $_[1] },
- 'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = $_[1] },
+ 'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = 1 },
a => \$::all,
q => sub { --$::verbose; $::rpm_opt = '' },
v => sub { ++$::verbose; $::rpm_opt = 'vh' },