diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index 89cf00a5..b41e24fe 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -362,6 +362,9 @@ foreach my $k ("help|h", "wget", "curl", "proxy=s", "proxy-user=s", "c", "f", "z sub parse_cmdline { my %args = @_; $urpm = $args{urpm}; + for my $k (keys %{$args{defaults} || {}}) { + $options{$k} = $args{defaults}{$k}; + } GetOptions(%{$options_spec{$tool}}); } |