diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2004-11-24 18:32:46 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2004-11-24 18:32:46 +0000 |
commit | a851747b92213cfeffead634414cb36d9fc576a6 (patch) | |
tree | 82efe01fd523f6b5806c431dbb5981182301e8f4 /urpm | |
parent | d0975a4dc82a25a2f1e2105e9c405fcaf067bdfa (diff) | |
download | urpmi-a851747b92213cfeffead634414cb36d9fc576a6.tar urpmi-a851747b92213cfeffead634414cb36d9fc576a6.tar.gz urpmi-a851747b92213cfeffead634414cb36d9fc576a6.tar.bz2 urpmi-a851747b92213cfeffead634414cb36d9fc576a6.tar.xz urpmi-a851747b92213cfeffead634414cb36d9fc576a6.zip |
- add --search-media options: looking requested or package to update with --auto-select in given media
- replace a die() by $urpm->{fatal}()
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index ca447cc9..af1a1daf 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -51,6 +51,7 @@ my %options_spec = ( 'media|mediums=s' => \$::media, 'excludemedia|exclude-media=s' => \$::excludemedia, 'sortmedia|sort-media=s' => \$::sortmedia, + 'searchmedia|search-media=s' => \$::searchmedia, 'synthesis=s' => \$::synthesis, auto => sub { $urpm->{options}{auto} = $::auto = 1; @@ -178,6 +179,7 @@ my %options_spec = ( 'media|mediums=s' => \$options{media}, 'excludemedia|exclude-media=s' => \$options{excludemedia}, 'sortmedia|sort-media=s' => \$options{sortmedia}, + 'searchmedia|search-media=s' => \$options{searchmedia}, 'synthesis=s' => \$options{sortmedia}, 'auto-select' => sub { $options{deps} = $options{upgrade} = $options{auto_select} = 1; |