summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
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 /urpm/args.pm
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)
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 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]) },