diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-19 16:22:58 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-19 16:22:58 +0000 |
commit | 5a98bb67538f76f8cc004297a2251147df0eed08 (patch) | |
tree | c612d0fcdd71013d8df1dd1dbaeb4a1eb030a9af /urpm/args.pm | |
parent | b3ec44efa1b101ed97900f0762bf492b131399f5 (diff) | |
download | urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.tar urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.tar.gz urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.tar.bz2 urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.tar.xz urpmi-5a98bb67538f76f8cc004297a2251147df0eed08.zip |
- urpmi.update, urpmi.addmedia, urpmi.removemedia:
o drop option "-c" which used to clean /var/cache/urpmi/headers
since we don't use that dir anymore :)
Diffstat (limited to 'urpm/args.pm')
-rw-r--r-- | urpm/args.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index 5b5f9920..6e281473 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -283,7 +283,7 @@ my %options_spec = ( 'urpmi.update' => { a => \$options{all}, - c => sub { $options{noclean} = 0 }, + c => sub {}, # obsolete f => sub { ++$options{force}; $options{probe_with} = 'rpms' if $options{force} == 2 }, z => sub { ++$options{compress} }, update => \$options{update}, @@ -380,14 +380,14 @@ foreach my $k ("help|h", "version", "wget", "curl", "prozilla", "aria2", "proxy= $options_spec{urpmq}{$k} = $options_spec{urpmi}{$k}; } -foreach my $k ("help|h", "wget", "curl", "prozilla", "aria2", "proxy=s", "proxy-user=s", "c", "f", "z", +foreach my $k ("help|h", "wget", "curl", "prozilla", "aria2", "proxy=s", "proxy-user=s", "f", "z", "limit-rate=s", "no-md5sum", "update", "norebuild!", "probe-rpms", "wget-options=s", "curl-options=s", "rsync-options=s", "prozilla-options=s", "aria2-options=s", '<>') { $options_spec{'urpmi.addmedia'}{$k} = $options_spec{'urpmi.update'}{$k}; } -foreach my $k ("a", "c", '<>') { +foreach my $k ("a", '<>') { $options_spec{'urpmi.removemedia'}{$k} = $options_spec{'urpmi.update'}{$k}; } foreach my $k ("y") { |