diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-10 17:25:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-10 17:25:12 +0000 |
commit | 89d972c118016249e9e1b40c32748a6b56fc454c (patch) | |
tree | 78e721678a83c56d7e28e7f9ec279b0444d9ce55 | |
parent | 6e64983eef4ee51e614312f818af755e865b66d1 (diff) | |
download | urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.tar urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.tar.gz urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.tar.bz2 urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.tar.xz urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.zip |
normalize to fit xml_info names
-rw-r--r-- | urpm/args.pm | 2 | ||||
-rwxr-xr-x | urpmq | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index 6e281473..1b76bfe2 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -256,7 +256,7 @@ my %options_spec = ( 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{list_files}, + l => \$options{files}, r => sub { $options{version} = $options{release} = 1; }, @@ -314,12 +314,12 @@ if ($options{list_aliases}) { if ($options{sources} || $options{info} - || $options{list_files} + || $options{files} || $options{changelog}) { my ($local_sources, $list) = urpm::get_pkgs::selected2list($urpm, $state->{selected}); - if ($options{info} || $options{list_files} || $options{changelog}) { + if ($options{info} || $options{files} || $options{changelog}) { # get descriptions of update sources my $updates_descr = urpm::get_updates_description($urpm); # if not root, use a temporary directory to store headers @@ -400,7 +400,7 @@ if ($options{list_aliases}) { and printf "%-20s:\n%s\n", "Reason for update", $updesc->{pre}; } } - if ($options{list_files}) { + if ($options{files}) { if ($pkg->files) { print join("\n", $pkg->files) . "\n"; } |