diff options
-rw-r--r-- | urpm/args.pm | 2 |
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; } |