From eac41d32643794eaf3ea6f1717b538b024067697 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 11 Apr 2005 14:00:19 +0000 Subject: Add a --raw option to urpmi.addmedia --- urpm/args.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urpm') diff --git a/urpm/args.pm b/urpm/args.pm index ffd1c426..9cbc8073 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -251,7 +251,7 @@ my %options_spec = ( 'force-key' => \$options{forcekey}, 'limit-rate=s' => \$options{limit_rate}, 'no-md5sum' => \$options{nomd5sum}, - 'noa|d' => \my $dummy, # default, keeped for compatibility + 'noa|d' => \my $dummy, #- default, kept for compatibility 'q|quiet' => sub { --$options{verbose} }, 'v|verbose' => sub { ++$options{verbose} }, 'norebuild!' => sub { $urpm->{options}{norebuild} = $_[1]; $options{force} = 0 }, @@ -269,6 +269,7 @@ my %options_spec = ( virtual => \$options{virtual}, 'q|quiet' => sub { --$options{verbose} }, 'v|verbose' => sub { ++$options{verbose} }, + raw => \$options{raw}, '<>' => sub { push @::cmdline, $_[0]; }, -- cgit v1.2.1