summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-10 17:25:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-10 17:25:12 +0000
commit89d972c118016249e9e1b40c32748a6b56fc454c (patch)
tree78e721678a83c56d7e28e7f9ec279b0444d9ce55 /urpmq
parent6e64983eef4ee51e614312f818af755e865b66d1 (diff)
downloadurpmi-89d972c118016249e9e1b40c32748a6b56fc454c.tar
urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.tar.gz
urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.tar.bz2
urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.tar.xz
urpmi-89d972c118016249e9e1b40c32748a6b56fc454c.zip
normalize to fit xml_info names
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpmq b/urpmq
index 8fc80897..1d526e5f 100755
--- a/urpmq
+++ b/urpmq
@@ -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";
}