summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/args.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index da362894..7d603c85 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@
o fix --auto-select option
o fix --root option
o handle --expect-install
+ o handle --allow-medium-change
o reuse common shared code of urpmi
- urpmf, urpmq:
o never display raw downloader output, otherwise output is very messy (#38125)
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() },