summaryrefslogtreecommitdiffstats
path: root/urpmf
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 /urpmf
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)
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf1
1 files changed, 1 insertions, 0 deletions
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