diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-30 06:10:33 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-30 06:10:33 +0000 |
commit | 7ea5d6a9dda7dead46cdd3aa74c9adf0ba761e3f (patch) | |
tree | 2d3fca57906df589e184b8ea93ca0a396c73ae58 | |
parent | 022a2bc57de3e09977c4f1731b9421c863d52ba6 (diff) | |
download | urpmi-7ea5d6a9dda7dead46cdd3aa74c9adf0ba761e3f.tar urpmi-7ea5d6a9dda7dead46cdd3aa74c9adf0ba761e3f.tar.gz urpmi-7ea5d6a9dda7dead46cdd3aa74c9adf0ba761e3f.tar.bz2 urpmi-7ea5d6a9dda7dead46cdd3aa74c9adf0ba761e3f.tar.xz urpmi-7ea5d6a9dda7dead46cdd3aa74c9adf0ba761e3f.zip |
Add a --more-choices option
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rwxr-xr-x | urpmi | 2 |
2 files changed, 3 insertions, 0 deletions
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' }, @@ -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. |