From bcba5ef937a94d563a94e34578e96b13bf0937f6 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 4 Aug 2004 02:07:58 +0000 Subject: Document the --name option to urpmf. Say it should be used when only synthesis are available. --- man/C/urpmf.8 | 2 ++ urpmf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/man/C/urpmf.8 b/man/C/urpmf.8 index 0f1e03f3..efc1f7ee 100644 --- a/man/C/urpmf.8 +++ b/man/C/urpmf.8 @@ -38,6 +38,8 @@ with interactive mode). Do not print identical lines. .IP "\fB\--all\fP" Search through all parameters listed below. +.IP "\fB\--name\fP" +Search through package names. .IP "\fB\--group\fP" Search through group. .IP "\fB\--size\fP" diff --git a/urpmf b/urpmf index b5a64130..6327bca2 100755 --- a/urpmf +++ b/urpmf @@ -40,6 +40,7 @@ usage: line, incompatible with interactive mode). ") . N(" --uniq - do not print identical lines. ") . N(" --all - print all tags. +") . N(" --name - print only package names. ") . N(" --group - print tag group: group. ") . N(" --size - print tag size: size. ") . N(" --epoch - print tag epoch: epoch. @@ -148,6 +149,7 @@ if ($use_hdlist) { } @{ $urpm->{media} }; if (!@hdmedia) { print N("Note: since no media searched uses hdlists, urpmf was unable to return any result\n"); + print N("You may want to use --name to search for package names.\n") if !$params{filename}; } } -- cgit v1.2.1