summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-11 12:21:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-11 12:21:48 +0000
commit5b15b26b25e8c3a4181d55894fad3e30c615af2b (patch)
tree7c94c6373183b90873fd1494c9342df7ce9a8a81 /urpm
parent7a1a517b798ae2bbf4bea6fdeec4098e138b409f (diff)
downloadurpmi-5b15b26b25e8c3a4181d55894fad3e30c615af2b.tar
urpmi-5b15b26b25e8c3a4181d55894fad3e30c615af2b.tar.gz
urpmi-5b15b26b25e8c3a4181d55894fad3e30c615af2b.tar.bz2
urpmi-5b15b26b25e8c3a4181d55894fad3e30c615af2b.tar.xz
urpmi-5b15b26b25e8c3a4181d55894fad3e30c615af2b.zip
- urpmf
o fix --synthesis (by handling synthesis argument the same way in urpmq, urpmi and urpmf)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 69a8dd51..b0d29aa1 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -69,7 +69,7 @@ my %options_spec = (
'excludemedia|exclude-media=s' => \$::excludemedia,
'sortmedia|sort-media=s' => \$::sortmedia,
'searchmedia|search-media=s' => \$::searchmedia,
- 'synthesis=s' => \$::synthesis,
+ 'synthesis=s' => \$options{synthesis},
auto => sub { $urpm->{options}{auto} = 1 },
'allow-medium-change' => \$::allow_medium_change,
'gui' => \$::gui,
@@ -221,7 +221,6 @@ my %options_spec = (
'excludemedia|exclude-media=s' => \$options{excludemedia},
'sortmedia|sort-media=s' => \$options{sortmedia},
'searchmedia|search-media=s' => \$options{searchmedia},
- 'synthesis=s' => \$options{synthesis},
'auto-select' => sub {
$options{deps} = $options{upgrade} = $options{auto_select} = 1;
},
@@ -359,7 +358,7 @@ foreach my $k ("help|h", "version", "no-locales", "test!", "force", "root=s", "u
{
$options_spec{urpme}{$k} = $options_spec{urpmi}{$k};
}
-foreach my $k ("root=s", "nolock", "use-distrib=s", "skip=s", "prefer=s")
+foreach my $k ("root=s", "nolock", "use-distrib=s", "skip=s", "prefer=s", "synthesis=s")
{
$options_spec{urpmq}{$k} = $options_spec{urpmi}{$k};
}