summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 15:10:39 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 15:10:39 +0000
commit279239e83eada658beab6ca8c23f3bb1aa47ca95 (patch)
treeefecbd8f78de00a568c91cc14cf9c20d64711fb5
parentd93f98029442050952ec54a75e36e34a027567be (diff)
downloadurpmi-279239e83eada658beab6ca8c23f3bb1aa47ca95.tar
urpmi-279239e83eada658beab6ca8c23f3bb1aa47ca95.tar.gz
urpmi-279239e83eada658beab6ca8c23f3bb1aa47ca95.tar.bz2
urpmi-279239e83eada658beab6ca8c23f3bb1aa47ca95.tar.xz
urpmi-279239e83eada658beab6ca8c23f3bb1aa47ca95.zip
handle --expect-install (needed for do_pkgs)
-rw-r--r--NEWS1
-rw-r--r--urpm/args.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0d95f840..da362894 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@
o exit immediately on success in automatic mode
o fix --auto-select option
o fix --root option
+ o handle --expect-install
o reuse common shared code of urpmi
- urpmf, urpmq:
o never display raw downloader output, otherwise output is very messy (#38125)
diff --git a/urpm/args.pm b/urpm/args.pm
index b029086b..8131d0cc 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -62,6 +62,7 @@ my %options_spec = (
gurpmi => {
auto => sub { $urpm->{options}{auto} = 1 },
'auto-select' => \$::auto_select,
+ 'expect-install!' => \$::urpm::main_loop::expect_install,
'media|mediums=s' => sub { $urpm->{options}{media} = 1 },
"help|h" => sub { gurpmi::usage() },
'root=s' => sub { set_root($urpm, $_[1]) },