diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | Rpmdrake/init.pm | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,7 @@ - adapt to urpmi-5.7 API: o don't want to force a device anymore o handle new "cdrom://" type +- handle --test Version 4.3.1 - Wed Feb 27 2008, Thierry Vignaud diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm index 0625bcbf..aac2d689 100644 --- a/Rpmdrake/init.pm +++ b/Rpmdrake/init.pm @@ -52,6 +52,7 @@ N(" --urpmi-root use another root for urpmi db & rpm installation"), N(" --root force to run as root") . ' ' . N("(Deprecated)"), N(" --run-as-root force to run as root"), N(" --search=pkg run search for \"pkg\""), +N(" --test only verify if the installation can be achieved correctly"), chomp_(N(" --version - print this tool's version number. ")), "" @@ -96,8 +97,11 @@ foreach (@ARGV) { if ($val eq 'version') { print "$0 $version\n"; exit(0); + } elsif ($val eq 'test') { + $::test = 1; + } else { + $rpmdrake_options{$val} = 1; } - $rpmdrake_options{$val} = 1; } } |