summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 15:36:55 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 15:36:55 +0000
commit721cd0ada2561f83570e29f18e0856f7d1ebddb8 (patch)
treeee7251b7671c79d20b24a6bbb2e0540f37ae31c8 /urpm
parent20e57b7b9cbc50127a52373bdff3daed3a96fd79 (diff)
downloadurpmi-721cd0ada2561f83570e29f18e0856f7d1ebddb8.tar
urpmi-721cd0ada2561f83570e29f18e0856f7d1ebddb8.tar.gz
urpmi-721cd0ada2561f83570e29f18e0856f7d1ebddb8.tar.bz2
urpmi-721cd0ada2561f83570e29f18e0856f7d1ebddb8.tar.xz
urpmi-721cd0ada2561f83570e29f18e0856f7d1ebddb8.zip
handle --test
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm1
1 files changed, 1 insertions, 0 deletions
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] },
},