From a710a3fc34e0a972c01d45c938aec2f140e1b312 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 21 Aug 2007 09:25:35 +0000 Subject: - urpmf o display "usage" when no is given (#32658) --- urpmf | 1 + 1 file changed, 1 insertion(+) (limited to 'urpmf') diff --git a/urpmf b/urpmf index cc0e1aca..476019ca 100755 --- a/urpmf +++ b/urpmf @@ -108,6 +108,7 @@ our %uniq; #- parse arguments list. my $urpm = new urpm; urpm::args::parse_cmdline(urpm => $urpm) or exit(1); +defined $expr or usage(); if ($qf eq '%default') { #- nothing on the command-line : default is to search on file names -- cgit v1.2.1