diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-18 16:48:54 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-18 16:48:54 +0000 |
commit | 8ad21ded96d7c7ebe33a33aae621bf891d1170a7 (patch) | |
tree | f1f13ed2012d4a204613bbc9fa40a48b12268156 | |
parent | 2099f5bdecec190671ee2deaa2e389ac80d83dfb (diff) | |
download | urpmi-8ad21ded96d7c7ebe33a33aae621bf891d1170a7.tar urpmi-8ad21ded96d7c7ebe33a33aae621bf891d1170a7.tar.gz urpmi-8ad21ded96d7c7ebe33a33aae621bf891d1170a7.tar.bz2 urpmi-8ad21ded96d7c7ebe33a33aae621bf891d1170a7.tar.xz urpmi-8ad21ded96d7c7ebe33a33aae621bf891d1170a7.zip |
Document urpmf --filename
-rw-r--r-- | man/C/urpmf.8 | 2 | ||||
-rwxr-xr-x | urpmf | 24 |
2 files changed, 16 insertions, 10 deletions
diff --git a/man/C/urpmf.8 b/man/C/urpmf.8 index 20e0bac8..cad43a46 100644 --- a/man/C/urpmf.8 +++ b/man/C/urpmf.8 @@ -41,6 +41,8 @@ Use a different environment directly from a bug report to replay a bug. Prints and searches through the Epoch tag. .IP "\fB\--excludemedia\fP \fImedium1,...,mediumN\fP" Do not use the given media. +.IP "\fB\--filename\fP" +Prints and searches through package file names. .IP "\fB\--files\fP" Prints and searches through the list of files contained in the rpm (this is the default). @@ -41,6 +41,7 @@ usage: ") . N(" --env - use specific environment (typically a bug report) ") . N(" --epoch - print epoch ") . N(" --excludemedia - do not use the given media, separated by comma +") . N(" --filename - print the package's filename ") . N(" --files - print the package's files ") . N(" --group - print group ") . N(" --literal - don't match patterns, but use argument as a literal string @@ -75,22 +76,25 @@ usage: } #- default options. -our $update = 0; -our $media = ''; +our $env; our $excludemedia = ''; +our $full = ''; # -f : print rpm fullname instead of rpm name +our $literal = 0; # should we quotemeta the pattern +our $media = ''; +our $pattern = ''; # regexp match flags ("i" or "") +our $qf = '%name'; # default format our $sortmedia = ''; our $synthesis = ''; -our $verbose = 0; our $uniq = ''; -our $pattern = ''; # regexp match flags ("i" or "") -our $full = ''; # -f : print rpm fullname instead of rpm name -our $literal = 0; # should we quotemeta the pattern -our $qf = '%name'; -our $env; -our (%params, %uniq); +our $update = 0; +our $verbose = 0; +our %params; + +#- globals used in callback +our $expr; #- regexp to match against +our %uniq; #- parse arguments list. -our $expr; urpm::args::parse_cmdline(); if ($full) { $qf =~ s/%name\b/%fullname/ } |