summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-25 09:31:55 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-25 09:31:55 +0000
commit75ec625408bb89714b2beffb6c69f68e1a942367 (patch)
treee1c364a9e56a15200947be5583e0862ed1dd9dc9
parenta851747b92213cfeffead634414cb36d9fc576a6 (diff)
downloadurpmi-75ec625408bb89714b2beffb6c69f68e1a942367.tar
urpmi-75ec625408bb89714b2beffb6c69f68e1a942367.tar.gz
urpmi-75ec625408bb89714b2beffb6c69f68e1a942367.tar.bz2
urpmi-75ec625408bb89714b2beffb6c69f68e1a942367.tar.xz
urpmi-75ec625408bb89714b2beffb6c69f68e1a942367.zip
Document the new --searchmedia option, and add it in bash completion
-rw-r--r--man/C/urpmi.821
-rw-r--r--man/C/urpmq.89
-rw-r--r--urpmi.bash-completion5
3 files changed, 21 insertions, 14 deletions
diff --git a/man/C/urpmi.8 b/man/C/urpmi.8
index 9b678fe5..a82b1351 100644
--- a/man/C/urpmi.8
+++ b/man/C/urpmi.8
@@ -1,4 +1,4 @@
-.TH urpmi 8 "28 Aug 2003" "Mandrakesoft" "Mandrakelinux"
+.TH urpmi 8 "25 Nov 2004" "Mandrakesoft" "Mandrakelinux"
.IX urpmi
.SH NAME
urpmi \- rpm wrapper making installs easier for the user
@@ -25,13 +25,13 @@ proceed.
.PP
Note that urpmi handles installations from various types of media (ftp, http,
rsync, local and nfs volumes, removable media such as CDROMs) and is able to
-install dependencies from a medium different from the original package's
-medium. If necessary, for removable media, urpmi may ask you to insert the
+install dependencies from a media different from the original package's
+media. If necessary, for removable media, urpmi may ask you to insert the
appropriate disk.
.PP
-To add a new medium containing rpms, run urpmi.addmedia.
+To add a new media containing rpms, run urpmi.addmedia.
.br
-To remove a medium, use urpmi.removemedia.
+To remove an existing media, use urpmi.removemedia.
.br
To update the package list (for example when the ftp archive changes) use
urpmi.update.
@@ -41,12 +41,15 @@ Print a help message and exit (this is the same as \fB-h\fP or \fB-?\fP).
.IP "\fB\--update\fP"
Use only update media. This means that \fBurpmi\fP will search packages and
resolve dependencies only in media marked as containing updates.
-.IP "\fB\--media\fP \fImedium1,...,mediumN\fP"
+.IP "\fB\--media\fP \fImedia1,...,mediaN\fP"
Select specific media to be used, instead of all available media (or update
media if \fB--update\fP is used).
-.IP "\fB\--excludemedia\fP \fImedium1,...,mediumN\fP"
+.IP "\fB\--excludemedia\fP \fImedia1,...,mediaN\fP"
Do not use the specified media.
-.IP "\fB\--sortmedia\fP \fImedium1,...,mediumN\fP"
+.IP "\fB\--searchmedia\fP \fImedia\fP"
+Use only the specified media to search for packages when combined with
+\fB\--auto-select\fP.
+.IP "\fB\--sortmedia\fP \fImedia1,...,mediaN\fP"
Sort the specified media. Substrings may be used to simplify grouping.
.IP "\fB\--synthesis\fP \fIfile\fP"
Use the specified synthesis file instead of the urpmi database for
@@ -63,7 +66,7 @@ safer in auto mode.
When some dependencies cannot be satisfied, change the selection of packages
to try to keep existing packages instead of removing them. This behaviour
generally rejects the upgrade of packages given on command line (or when using
---auto-select) when a dependency error occurs.
+\fB\--auto-select\fP) when a dependency error occurs.
.IP "\fB\--split-level \fInumber\fP"
Split urpmi's operation in small transactions when the total number of
packages to upgrade is greater than the given \fInumber\fP. This option is
diff --git a/man/C/urpmq.8 b/man/C/urpmq.8
index 3f00e7b9..67295f6e 100644
--- a/man/C/urpmq.8
+++ b/man/C/urpmq.8
@@ -22,12 +22,15 @@ Print a help message and exit (this is the same as \fB-h\fP or \fB-?\fP).
.IP "\fB\--update\fP"
Use only update media. This means that \fBurpmq\fP will search and resolve
dependencies only in media marked as containing updates.
-.IP "\fB\--media\fP \fImedium1,...,mediumN\fP"
+.IP "\fB\--media\fP \fImedia1,...,mediaN\fP"
Select specific media to be used, instead of all available media (or update
media if \fB--update\fP is used).
-.IP "\fB\--excludemedia\fP \fImedium1,...,mediumN\fP"
+.IP "\fB\--excludemedia\fP \fImedia1,...,mediaN\fP"
Do not use the specified media.
-.IP "\fB\--sortmedia\fP \fImedium1,...,mediumN\fP"
+.IP "\fB\--searchmedia\fP \fImedia\fP"
+Use only the specified media to search for packages when combined with
+\fB\--auto-select\fP.
+.IP "\fB\--sortmedia\fP \fImedia1,...,mediaN\fP"
Sort the specified media. Substrings may be used to simplify grouping.
.IP "\fB\--synthesis\fP \fIfile\fP"
Use the specified synthesis file instead of the urpmi database for
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index fb5dd51a..02ba8a86 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -92,7 +92,8 @@ _urpmi()
--noclean --force --allow-nodeps --allow-force --parallel \
--wget --curl --limit-rate --proxy --proxy-user --bug \
--env --X --best-output --verify-rpm --no-verify-rpm \
- --test --excludepath --excludedocs --root --norebuild' -- $cur ) )
+ --test --excludepath --excludedocs --root --norebuild \
+ --searchmedia' -- $cur ) )
else
# return available packages (unless it is clearly a file) and rpm files
if [[ "$cur" != */* ]]; then
@@ -132,7 +133,7 @@ _urpmq()
--list --list-url --list-media --list-nodes --list-aliases \
--src --headers --sources --force --parallel --wget --curl \
--changelog --proxy --proxy-user --env --dump-config \
- --use-distrib ' -- $cur))
+ --use-distrib --searchmedia' -- $cur))
else
# return available packages (unless it is clearly a file) and rpm files
if [[ "$cur" != */* ]]; then