From 34ad5393ef78a77d3815d84b355b33288053b7f4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Aug 2007 09:32:52 +0000 Subject: warn if misusing --rpm-root option --- Rpmdrake/init.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm index 0dfb467b..bc79fcf0 100755 --- a/Rpmdrake/init.pm +++ b/Rpmdrake/init.pm @@ -101,7 +101,7 @@ foreach (@ARGV) { } } -foreach my $option (qw(media mode parallel pkg-nosel pkg-sel search)) { +foreach my $option (qw(media mode parallel pkg-nosel pkg-sel rpm-root search)) { if (defined $rpmdrake_options{$option} && !ref($rpmdrake_options{$option})) { warn "wrong usage of \"$option\" option!\n"; exit(-1); # too early for my_exit() -- cgit v1.2.1