aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 09:32:52 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 09:32:52 +0000
commit34ad5393ef78a77d3815d84b355b33288053b7f4 (patch)
tree8431437a910851b884046d322abc56b6c2ca73cc
parentd3d954c6b1361a12e3ed5d1370d2873b970b2840 (diff)
downloadrpmdrake-34ad5393ef78a77d3815d84b355b33288053b7f4.tar
rpmdrake-34ad5393ef78a77d3815d84b355b33288053b7f4.tar.gz
rpmdrake-34ad5393ef78a77d3815d84b355b33288053b7f4.tar.bz2
rpmdrake-34ad5393ef78a77d3815d84b355b33288053b7f4.tar.xz
rpmdrake-34ad5393ef78a77d3815d84b355b33288053b7f4.zip
warn if misusing --rpm-root option
-rwxr-xr-xRpmdrake/init.pm2
1 files changed, 1 insertions, 1 deletions
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()