summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-20 16:59:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-20 16:59:55 +0000
commita8e05a1570c83989254474df69f0100042ee4440 (patch)
treee983a60ce14a66dfe5fe69d50c15dbeaad200e1e /urpmi.addmedia
parent721579ed0673e492e1e3c702350318bd15cda330 (diff)
downloadurpmi-a8e05a1570c83989254474df69f0100042ee4440.tar
urpmi-a8e05a1570c83989254474df69f0100042ee4440.tar.gz
urpmi-a8e05a1570c83989254474df69f0100042ee4440.tar.bz2
urpmi-a8e05a1570c83989254474df69f0100042ee4440.tar.xz
urpmi-a8e05a1570c83989254474df69f0100042ee4440.zip
deprecate [with <relative path of synthesis|hdlist>]: don't document it anymore
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia15
1 files changed, 6 insertions, 9 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index 20647d0e..3db52574 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -32,13 +32,13 @@ sub usage {
# Translator: and 'removable:' must not be translated!
# Translator: neither the ``with''.
# Translator: only what is between <brackets> can be translated.
- my $usage = N("usage: urpmi.addmedia [options] <name> <url> [with <relative_path>]
+ my $usage = N("usage: urpmi.addmedia [options] <name> <url>
where <url> is one of
- [file:/]/<path> with <relative filename of hdlist>
- ftp://<login>:<password>\@<host>/<path> with <relative filename of hdlist>
- ftp://<host>/<path> with <relative filename of hdlist>
- http://<host>/<path> with <relative filename of hdlist>
- removable://<path> with <relative filename of hdlist>
+ [file:/]/<path>
+ ftp://<login>:<password>\@<host>/<path>
+ ftp://<host>/<path>
+ http://<host>/<path>
+ removable://<path>
and [options] are from
") . N(" --help - print this help message.
@@ -64,7 +64,6 @@ and [options] are from
", $urpm::cfg::mirrors) . N(" --virtual - create virtual media wich are always up-to-date,
only file:// protocol is allowed.
") . N(" --no-md5sum - disable MD5SUM file checking.
-") . N(" --norebuild - don't try to rebuild hdlist if not readable.
") . N(" --nopubkey - don't import pubkey of added media
") . N(" --raw - add the media in config, but don't update it.
") . N(" -c - clean headers cache directory.
@@ -124,7 +123,6 @@ if (!-e $urpm->{config}) {
open my $_f, '>', $urpm->{config} or $urpm->{fatal}(6, N("Can't create config file [%s]", $urpm->{config}));
}
$urpm->read_config;
-exists $options{limit_rate} or $options{limit_rate} = $urpm->{options}{'limit-rate'};
if ($options{distrib}) {
$with || $relative_hdlist
@@ -174,7 +172,6 @@ if ($options{distrib}) {
$name, $url, $relative_hdlist,
virtual => $options{virtual},
update => $options{update},
- no_reload_config => $options{raw},
ignore => $options{raw},
nolock => $options{nolock},
);