summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-04-25 16:36:10 +0000
committerFrancois Pons <fpons@mandriva.com>2003-04-25 16:36:10 +0000
commitf4f538e70ddeaf9683dd4c077fe6abd6af96b883 (patch)
tree15ea35f4ec34371153dd913b00404eaa67efb5f8 /urpmq
parent987fa75b771b75c23c7945cd0504cc5a62205b44 (diff)
downloadurpmi-f4f538e70ddeaf9683dd4c077fe6abd6af96b883.tar
urpmi-f4f538e70ddeaf9683dd4c077fe6abd6af96b883.tar.gz
urpmi-f4f538e70ddeaf9683dd4c077fe6abd6af96b883.tar.bz2
urpmi-f4f538e70ddeaf9683dd4c077fe6abd6af96b883.tar.xz
urpmi-f4f538e70ddeaf9683dd4c077fe6abd6af96b883.zip
4.3-8mdk
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq8
1 files changed, 7 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index 6a5a4f21..cbd6fd60 100755
--- a/urpmq
+++ b/urpmq
@@ -66,6 +66,7 @@ usage:
") . N(" -R - reverse search to what requires package.
") . N(" -y - impose fuzzy search (same as --fuzzy).
") . N(" -s - next package is a source package (same as --src).
+") . N(" -i - print usefull information in human readeable form.
") . N(" -g - print groups with name also.
") . N(" -r - print version and release with name also.
") . N(" -f - print version, release and arch with name.
@@ -85,6 +86,7 @@ while (defined($_ = shift @ARGV)) {
/^--update$/ and do { $query->{update} = 1; next };
/^--media$/ and do { push @nextargv, \$query->{media}; next };
/^--exclude-?media$/ and do { push @nextargv, \$query->{excludemedia}; next };
+ /^--sort-?media$/ and do { push @nextargv, \$query->{sortmedia}; next };
/^--mediums$/ and do { push @nextargv, \$query->{media}; next };
/^--synthesis$/ and do { push @nextargv, \$query->{synthesis}; next };
/^--auto-select$/ and do { $query->{deps} = $query->{upgrade} = $query->{auto_select} = 1; next };
@@ -152,9 +154,13 @@ while (defined($_ = shift @ARGV)) {
#- remove verbose if not asked.
$query->{verbose} or $urpm->{log} = sub {};
-$urpm->configure(nocheck_access => 1,
+#- improve speed if using any list_... options.
+$query->{nodepslist} = $query->{list_aliases} || $query->{list_nodes} || $query->{list_media};
+
+$urpm->configure(nocheck_access => 1, noskipping => $query->{nodepslist}, nodepslist => $query->{nodepslist},
media => $query->{media},
excludemedia => $query->{excludemedia},
+ sortmedia => $query->{sortmedia},
synthesis => $query->{synthesis},
update => $query->{update},
skip => $query->{skip},