summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-30 05:29:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-30 05:29:54 +0000
commit022a2bc57de3e09977c4f1731b9421c863d52ba6 (patch)
tree35550bd3b4b09a63d5b3a180c7829af917307eab /urpm/args.pm
parent8b85691bd6dc066b3cc0406f5d6e01ae26cb99c9 (diff)
downloadurpmi-022a2bc57de3e09977c4f1731b9421c863d52ba6.tar
urpmi-022a2bc57de3e09977c4f1731b9421c863d52ba6.tar.gz
urpmi-022a2bc57de3e09977c4f1731b9421c863d52ba6.tar.bz2
urpmi-022a2bc57de3e09977c4f1731b9421c863d52ba6.tar.xz
urpmi-022a2bc57de3e09977c4f1731b9421c863d52ba6.zip
--excludedocs was broken
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' },