summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-22 15:14:34 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-22 15:14:34 +0000
commite251ee8e540b6c08cb1c62509d834c39bcb5e6a3 (patch)
treef818ebeeae5acab74e258cd99a5566d3d6738942 /urpm/args.pm
parent99baa5645a48226e40f6a4cf6c5520a99d5f2f93 (diff)
downloadurpmi-e251ee8e540b6c08cb1c62509d834c39bcb5e6a3.tar
urpmi-e251ee8e540b6c08cb1c62509d834c39bcb5e6a3.tar.gz
urpmi-e251ee8e540b6c08cb1c62509d834c39bcb5e6a3.tar.bz2
urpmi-e251ee8e540b6c08cb1c62509d834c39bcb5e6a3.tar.xz
urpmi-e251ee8e540b6c08cb1c62509d834c39bcb5e6a3.zip
New option --auto-update (bug #19819)
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 4ca21538..7b413b1d 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -68,6 +68,7 @@ my %options_spec = (
'allow-medium-change' => \$::allow_medium_change,
'gui' => \$::gui,
'auto-select' => \$::auto_select,
+ 'auto-update' => sub { $::auto_update = $::auto_select = 1 },
'no-remove|no-uninstall' => \$::no_remove,
'no-install' => \$::no_install,
keep => sub { $urpm->{options}{keep} = 1 },