summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index 1be42658..c1ca8969 100755
--- a/urpmi
+++ b/urpmi
@@ -30,6 +30,7 @@ my $urpm = new urpm;
#- default options.
our $update = 0;
our $media = '';
+our $searchmedia = undef;
our $excludemedia = '';
our $sortmedia = '';
our $synthesis = '';
@@ -74,6 +75,7 @@ usage:
", $urpm::VERSION) . N(" --help - print this help message.
") . N(" --update - use only update media.
") . N(" --media - use only the given media, separated by comma.
+") . N(" --searchmedia - use only the given media to search requested (or updated) packages.
") . N(" --excludemedia - do not use the given media, separated by comma.
") . N(" --sortmedia - sort media according to substrings separated by comma.
") . N(" --synthesis - use the given synthesis instead of urpmi db.
@@ -318,6 +320,7 @@ unless ($env) {
}
$urpm->configure(nocheck_access => $env || $< != 0,
media => $media,
+ searchmedia => $searchmedia,
excludemedia => $excludemedia,
sortmedia => $sortmedia,
synthesis => $synthesis,