diff options
-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/ } |