From 7ea5d6a9dda7dead46cdd3aa74c9adf0ba761e3f Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 30 Jul 2004 06:10:33 +0000 Subject: Add a --more-choices option --- urpm/args.pm | 1 + urpmi | 2 ++ 2 files changed, 3 insertions(+) diff --git a/urpm/args.pm b/urpm/args.pm index 5ec2c23d..e02d67ac 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -110,6 +110,7 @@ my %options_spec = ( 'use-distrib=s' => \$::usedistrib, 'excludepath|exclude-path=s' => sub { $urpm->{options}{excludepath} = $_[1] }, 'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = 1 }, + 'more-choices' => sub { $urpm->{options}{morechoices} = 1 }, a => \$::all, q => sub { --$::verbose; $::rpm_opt = '' }, v => sub { ++$::verbose; $::rpm_opt = 'vh' }, diff --git a/urpmi b/urpmi index 12ceb770..2b0aaa54 100755 --- a/urpmi +++ b/urpmi @@ -122,6 +122,8 @@ usage: ") . N(" --excludepath - exclude path separated by comma. ") . N(" --excludedocs - exclude docs files. ") . N(" --skip - packages which installation should be skipped +") . N(" --more-choices - when several packages are found, propose more choices + than the default. ") . N(" -a - select all matches on command line. ") . N(" -p - allow search in provides to find package. ") . N(" -P - do not search in provides to find package. -- cgit v1.2.1