summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmq b/urpmq
index df9c3462..e32b3728 100755
--- a/urpmq
+++ b/urpmq
@@ -197,6 +197,9 @@ if ($options{list_aliases}) {
print "\n";
}
exit 0;
+} elsif ($options{list}) {
+ # --list lists all available packages: select them all
+ @{$state->{selected}}{0 .. $#{$urpm->{depslist}}} = ();
} else {
%requested = $urpm->register_rpms(@files);