diff options
author | Francois Pons <fpons@mandriva.com> | 2003-04-25 16:36:10 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-04-25 16:36:10 +0000 |
commit | f4f538e70ddeaf9683dd4c077fe6abd6af96b883 (patch) | |
tree | 15ea35f4ec34371153dd913b00404eaa67efb5f8 /urpmq | |
parent | 987fa75b771b75c23c7945cd0504cc5a62205b44 (diff) | |
download | urpmi-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-x | urpmq | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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}, |