summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index d81e28a1..685acd5b 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -56,9 +56,7 @@ my %options_spec = (
'sortmedia|sort-media=s' => \$::sortmedia,
'searchmedia|search-media=s' => \$::searchmedia,
'synthesis=s' => \$::synthesis,
- auto => sub {
- $urpm->{options}{auto} = $::auto = 1;
- },
+ auto => sub { $urpm->{options}{auto} = 1 },
'allow-medium-change' => \$::allow_medium_change,
'auto-select' => \$::auto_select,
'no-remove|no-uninstall' => \$::no_remove,