summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpme2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpme b/urpme
index d853c137..3a536137 100644
--- a/urpme
+++ b/urpme
@@ -59,10 +59,10 @@ usage:
exit(1);
}
-@ARGV or 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();
my $state = {};