summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm8
1 files changed, 3 insertions, 5 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 83561845..903ab2b2 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -185,11 +185,8 @@ my %options_spec = (
},
urpme => {
- auto => \$::auto,
- a => \$::matches,
- noscripts => \$::noscripts,
- repackage => \$::repackage,
- restricted => \$::restricted,
+ a => \$options{matches},
+ restricted => \$options{restricted},
},
#- see also below, autogenerated callbacks
@@ -411,6 +408,7 @@ foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'force', 'expect-in
$options_spec{gurpmi2} = $options_spec{gurpmi};
foreach my $k ("help|h", "version", "no-locales", "test!", "force", "root=s", "use-distrib=s",
+ 'repackage', 'noscripts', 'auto',
"parallel=s")
{
$options_spec{urpme}{$k} = $options_spec{urpmi}{$k};