summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
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 },