From 279239e83eada658beab6ca8c23f3bb1aa47ca95 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Mar 2008 15:10:39 +0000 Subject: handle --expect-install (needed for do_pkgs) --- NEWS | 1 + urpm/args.pm | 1 + 2 files changed, 2 insertions(+) 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]) }, -- cgit v1.2.1