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) --- NEWS | 3 +++ urpmf | 1 + 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 6b51d5bc..2b27f202 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- urpmf + o display "usage" when no is given (#32658) + Version 4.10.5 - 14 August 2007, by Pascal "Pixel" Rigaux - urpmi 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