summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
Diffstat (limited to 'urpme')
-rw-r--r--urpme2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpme b/urpme
index 5ec2548f..1e559d59 100644
--- a/urpme
+++ b/urpme
@@ -62,7 +62,7 @@ usage:
my @origARGV = @ARGV;
my $urpm = urpm->new_parse_cmdline or exit(1);
my @cmdline_pkgs_to_remove = @ARGV;
-@cmdline_pkgs_to_remove or usage();
+@cmdline_pkgs_to_remove || $options{matches} or usage();
my $state = {};