summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-21 09:25:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-21 09:25:35 +0000
commita710a3fc34e0a972c01d45c938aec2f140e1b312 (patch)
treec3e9b21867bf487e0f24d2c125ef60346bfdc754
parent8f3819f3a2f04921b6009708604ae78f9c4f6d85 (diff)
downloadurpmi-a710a3fc34e0a972c01d45c938aec2f140e1b312.tar
urpmi-a710a3fc34e0a972c01d45c938aec2f140e1b312.tar.gz
urpmi-a710a3fc34e0a972c01d45c938aec2f140e1b312.tar.bz2
urpmi-a710a3fc34e0a972c01d45c938aec2f140e1b312.tar.xz
urpmi-a710a3fc34e0a972c01d45c938aec2f140e1b312.zip
- urpmf
o display "usage" when no <pattern-expression> is given (#32658)
-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