diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-03 15:11:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-03 15:11:55 +0000 |
commit | 2bda6c7a9d5b16ba26ee71e4459a4dcc9deb8a07 (patch) | |
tree | caacba0c3f885fcd37e543a4c54b2c8ee1553a5d /urpm | |
parent | 279239e83eada658beab6ca8c23f3bb1aa47ca95 (diff) | |
download | urpmi-2bda6c7a9d5b16ba26ee71e4459a4dcc9deb8a07.tar urpmi-2bda6c7a9d5b16ba26ee71e4459a4dcc9deb8a07.tar.gz urpmi-2bda6c7a9d5b16ba26ee71e4459a4dcc9deb8a07.tar.bz2 urpmi-2bda6c7a9d5b16ba26ee71e4459a4dcc9deb8a07.tar.xz urpmi-2bda6c7a9d5b16ba26ee71e4459a4dcc9deb8a07.zip |
handle --allow-medium-change (needed for do_pkgs)
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index 8131d0cc..62b9c8f0 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -62,6 +62,8 @@ my %options_spec = ( gurpmi => { auto => sub { $urpm->{options}{auto} = 1 }, 'auto-select' => \$::auto_select, + # actually ignored (only for compat with do_pkgs), copy_removable() callback is always given: + 'allow-medium-change' => \$::allow_medium_change, 'expect-install!' => \$::urpm::main_loop::expect_install, 'media|mediums=s' => sub { $urpm->{options}{media} = 1 }, "help|h" => sub { gurpmi::usage() }, |