summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xurpmf1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6b51d5bc..2b27f202 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmf
+ o display "usage" when no <pattern-expression> 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