summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-09 14:04:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-09 14:04:25 +0000
commitdc5524b0906cf3111c49cd16396b22668b6d7ee2 (patch)
tree9e1774b16d2f4ce3b4f764b4ba25853e9db2b526 /urpm/args.pm
parentb07ef84b0bef0bb8ae4a2bea7bd7211fcceffe96 (diff)
downloadurpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.tar
urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.tar.gz
urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.tar.bz2
urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.tar.xz
urpmi-dc5524b0906cf3111c49cd16396b22668b6d7ee2.zip
- urpmi
o explicit error when using "urpmi ---install-src" as user with remote media o add support for "suggests": a newly suggested package is installed as if required, but one can remove it afterwards, or use --no-suggests - urpmf o handle --suggests all the work is done in perl-URPM 1.69
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 403e52b6..68feea57 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -94,6 +94,7 @@ my %options_spec = (
$urpm->{options}{'priority-upgrade'} = '';
},
force => \$::force,
+ 'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 },
'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 },
'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 },
'parallel=s' => \$::parallel,
@@ -342,6 +343,7 @@ foreach my $k (qw(
requires
size
sourcerpm
+ suggests
summary
url
vendor