summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq8
1 files changed, 2 insertions, 6 deletions
diff --git a/urpmq b/urpmq
index 5f9176b6..8fc80897 100755
--- a/urpmq
+++ b/urpmq
@@ -68,8 +68,6 @@ usage:
") . N(" --urpmi-root - use another root for urpmi db & rpm installation.
") . N(" --use-distrib - configure urpmi on the fly from a distrib tree.
This permit to querying a distro.
-") . N(" --probe-synthesis - use synthesis file.
-") . N(" --probe-hdlist - use hdlist file.
") . N(" --wget - use wget to retrieve distant files.
") . N(" --curl - use curl to retrieve distant files.
") . N(" --prozilla - use prozilla to retrieve distant files.
@@ -194,13 +192,10 @@ if ($options{list_aliases}) {
$_->{update} and print "--update ";
$_->{virtual} and print "--virtual ";
print escape_shell($_->{name}), " ", escape_shell($_->{url}), " ";
- $_->{with_hdlist} and print "with " . escape_shell($_->{with_hdlist});
+ $_->{with_synthesis} and print "with " . escape_shell($_->{with_synthesis});
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);
@@ -336,6 +331,7 @@ if ($options{list_aliases}) {
my @l = grep { $medium->{start} <= $_ && $_ <= $medium->{end} } @selected or next;
my @pkgs = map { $urpm->{depslist}[$_] } @l or next;
+ # TODO
my $hdlist_path = urpm::media::any_hdlist($urpm, $medium);
if (-s $hdlist_path) {
require MDV::Packdrakeng;