summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-11 12:46:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-11 12:46:03 +0000
commitd2736a81e1df5c19bdbc6e62b028e2f18a130480 (patch)
treec9d871f56f75d39bbc5f128abecf3950f76d09c5 /urpm/args.pm
parent25428f578665a94d873ea496da130059fee47fef (diff)
downloadurpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.tar
urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.tar.gz
urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.tar.bz2
urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.tar.xz
urpmi-d2736a81e1df5c19bdbc6e62b028e2f18a130480.zip
- urpmi
o new option --replacepkgs (same as rpm --replacepkgs) (#16112)
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 b5694863..e580257b 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -95,6 +95,7 @@ my %options_spec = (
$urpm->{options}{'priority-upgrade'} = '';
},
force => \$::force,
+ replacepkgs => \$options{replacepkgs},
'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 },
'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 },
'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 },