summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/args.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1374c121..80d3a9d4 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@
o give the focus to buttons (Emmanuel Blindauer, #38047)
o handle --expect-install
o handle --allow-medium-change
+ o handle --test
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 62b9c8f0..29587259 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -69,6 +69,7 @@ my %options_spec = (
"help|h" => sub { gurpmi::usage() },
'root=s' => sub { set_root($urpm, $_[1]) },
'searchmedia|search-media=s' => sub { $urpm->{options}{searchmedia} = 1 },
+ 'test!' => \$::test,
'verify-rpm!' => sub { $urpm->{options}{'verify-rpm'} = $_[1] },
},