summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/args.pm2
-rwxr-xr-xurpmq6
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;
},
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";
}