summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-02 17:24:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-02 17:24:19 +0000
commit2c29598785890ce276ae76b974c4eb99773c9797 (patch)
tree67752ee7013608f731e72ee85a400255b5f86ac8 /urpme
parent1e8e8f5d70d514690736633dfd22c3d1bb6b09e4 (diff)
downloadurpmi-2c29598785890ce276ae76b974c4eb99773c9797.tar
urpmi-2c29598785890ce276ae76b974c4eb99773c9797.tar.gz
urpmi-2c29598785890ce276ae76b974c4eb99773c9797.tar.bz2
urpmi-2c29598785890ce276ae76b974c4eb99773c9797.tar.xz
urpmi-2c29598785890ce276ae76b974c4eb99773c9797.zip
there must still be args after parsing options
Diffstat (limited to 'urpme')
-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 = {};