summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 460adfbb..1e0978f3 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -167,7 +167,7 @@ my %options_spec = (
o => sub { $::expr .= ' || ' },
'<>' => sub {
my $p = shift;
- if ($p =~ /^-([!()])$/) {
+ if ($p =~ /^-?([!()])$/) {
# This is for -! -( -)
$::expr .= $1;
}