summaryrefslogtreecommitdiffstats
path: root/gurpmi.pm
diff options
context:
space:
mode:
Diffstat (limited to 'gurpmi.pm')
-rw-r--r--gurpmi.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gurpmi.pm b/gurpmi.pm
index 4b972410..7fd3693a 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -52,7 +52,10 @@ sub parse_command_line {
}
foreach (@ARGV_expanded) {
if (/^-/) {
- $_ eq '--no-verify-rpm' and $options{'no-verify-rpm'} = 1;
+ if ($_ eq '--no-verify-rpm') {
+ $options{'no-verify-rpm'} = 1;
+ next;
+ }
/^--?[hv?]/ and usage();
fatal(N("Unknown option %s", $_));
}