summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 759db946..8bc8a2ba 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -61,7 +61,7 @@ my %options_spec = (
gurpmi => {
auto => sub { $urpm->{options}{auto} = 1 },
- 'auto-select' => sub { $urpm->{options}{auto_select} = 1 },
+ 'auto-select' => \$::auto_select,
'media|mediums=s' => sub { $urpm->{options}{media} = 1 },
"help|h" => sub { gurpmi::usage() },
'root=s' => sub { set_root($urpm, $_[1]) },