summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-13 14:38:31 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-13 14:38:31 +0000
commitacdc7d784b7c855c63409dfa755dd698a9e52ed7 (patch)
tree57fc303459fbdf6996a2fb0d200cb0e965b747c2 /urpmf
parentc24083ed20645836e23db3955224fe1f796a604b (diff)
downloadurpmi-acdc7d784b7c855c63409dfa755dd698a9e52ed7.tar
urpmi-acdc7d784b7c855c63409dfa755dd698a9e52ed7.tar.gz
urpmi-acdc7d784b7c855c63409dfa755dd698a9e52ed7.tar.bz2
urpmi-acdc7d784b7c855c63409dfa755dd698a9e52ed7.tar.xz
urpmi-acdc7d784b7c855c63409dfa755dd698a9e52ed7.zip
Add a --literal option to urpmf
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpmf b/urpmf
index 96c892fc..b6dbaa3d 100755
--- a/urpmf
+++ b/urpmf
@@ -40,6 +40,7 @@ usage:
") . N(" --excludemedia - do not use the given media, separated by comma.
") . N(" --files - print tag files: all files.
") . N(" --group - print tag group: group.
+") . N(" --literal - don't match patterns, but use argument as a literal string
") . N(" --media - use only the given media, separated by comma.
") . N(" --name - print only package names.
") . N(" --obsoletes - print tag obsoletes: all obsoletes.
@@ -81,6 +82,7 @@ our $quiet;
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 $env;
our (%params, %uniq);