summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-29 06:42:39 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-29 06:42:39 +0000
commit57573a55ce93cb59d88c04aae1c34d045a1589b5 (patch)
treed776ac8298d8ef00062444446eb24cfadae8d638 /urpm/args.pm
parent0c582bbec80dc26b77975fba01f0dd87e775d062 (diff)
downloadurpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.tar
urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.tar.gz
urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.tar.bz2
urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.tar.xz
urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.zip
Add a new option -m to urpmf to get the media in which a package has been
found.
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 8c3d589b..afe63c66 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -150,6 +150,7 @@ my %options_spec = (
files => \$::params{files},
conflicts => \$::params{conflicts},
obsoletes => \$::params{obsoletes},
+ m => \$::params{media},
i => sub { $::pattern = 'i' },
f => sub { $::full = 'full' },
'e=s' => sub { $::expr .= "($_[1])" },