From 022a2bc57de3e09977c4f1731b9421c863d52ba6 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 30 Jul 2004 05:29:54 +0000 Subject: --excludedocs was broken --- urpm/args.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }, -- cgit v1.2.1