diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-11 14:00:19 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-11 14:00:19 +0000 |
commit | eac41d32643794eaf3ea6f1717b538b024067697 (patch) | |
tree | e0b0bf0c5893ff15084348b01bc746695b30b0be /urpm | |
parent | 356f6e4dd452ff11017aa2466ea4aa2324306012 (diff) | |
download | urpmi-eac41d32643794eaf3ea6f1717b538b024067697.tar urpmi-eac41d32643794eaf3ea6f1717b538b024067697.tar.gz urpmi-eac41d32643794eaf3ea6f1717b538b024067697.tar.bz2 urpmi-eac41d32643794eaf3ea6f1717b538b024067697.tar.xz urpmi-eac41d32643794eaf3ea6f1717b538b024067697.zip |
Add a --raw option to urpmi.addmedia
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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]; }, |