summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-08-20 16:33:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-08-20 16:33:06 +0000
commit56b5c01b78529f01cbdabb6b55759d26d54895d0 (patch)
tree998253613062b6cd8cc9f0ef42aa44c939762cc4 /urpm
parent6929bb4fd6e4066a26428e38b2f3a537bb7008b0 (diff)
downloadurpmi-56b5c01b78529f01cbdabb6b55759d26d54895d0.tar
urpmi-56b5c01b78529f01cbdabb6b55759d26d54895d0.tar.gz
urpmi-56b5c01b78529f01cbdabb6b55759d26d54895d0.tar.bz2
urpmi-56b5c01b78529f01cbdabb6b55759d26d54895d0.tar.xz
urpmi-56b5c01b78529f01cbdabb6b55759d26d54895d0.zip
factorize
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 19f1ed36..75f1556e 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -239,7 +239,7 @@ my %options_spec = (
'auto-select' => sub {
$options{deps} = $options{upgrade} = $options{auto_select} = 1;
},
- fuzzy => sub { $urpm->{options}{fuzzy} = 1; $options{all} = 1 },
+ 'fuzzy|y' => sub { $urpm->{options}{fuzzy} = 1; $options{all} = 1 },
keep => \$options{keep},
list => \$options{list},
changelog => \$options{changelog},
@@ -282,7 +282,6 @@ my %options_spec = (
$options{what_requires} = 1 },
whatrequires => sub { $options{what_requires} = 1 },
'whatrequires-recursive' => sub { $options{what_requires_recursive} = $options{what_requires} = 1 },
- y => sub { $urpm->{options}{fuzzy} = 1; $options{all} = 1 },
Y => sub { $urpm->{options}{fuzzy} = 1; $options{all} = $options{caseinsensitive} = 1 },
i => \$options{info},
l => \$options{files},