summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-06-11 18:40:45 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-06-11 18:40:45 +0000
commite611acef4e04ec5a84a967fef1da4d48a7d0bbb9 (patch)
tree857591b50f88084e878335bff2eaa347bcf45f39 /urpm/args.pm
parent1d648c332e21d8fac81b0fc442ffbaac27638902 (diff)
downloadurpmi-e611acef4e04ec5a84a967fef1da4d48a7d0bbb9.tar
urpmi-e611acef4e04ec5a84a967fef1da4d48a7d0bbb9.tar.gz
urpmi-e611acef4e04ec5a84a967fef1da4d48a7d0bbb9.tar.bz2
urpmi-e611acef4e04ec5a84a967fef1da4d48a7d0bbb9.tar.xz
urpmi-e611acef4e04ec5a84a967fef1da4d48a7d0bbb9.zip
- restore old behavior of urpmi.addmedia, add --all-media and --interactive options
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 cfb7cff4..c6de5f38 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -304,6 +304,8 @@ my %options_spec = (
'probe-hdlist' => sub { $options{probe_with} = 'hdlist' },
'no-probe' => sub { $options{probe_with} = undef },
distrib => sub { $options{distrib} = 1 },
+ interactive => sub { $options{interactive} = 1 },
+ 'all-media' => sub { $options{allmedia} = 1 },
'from=s' => \$options{mirrors_url},
virtual => \$options{virtual},
nopubkey => \$options{nopubkey},