From a8e05a1570c83989254474df69f0100042ee4440 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Nov 2006 16:59:55 +0000 Subject: deprecate [with ]: don't document it anymore --- urpmi.addmedia | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'urpmi.addmedia') 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 can be translated. - my $usage = N("usage: urpmi.addmedia [options] [with ] + my $usage = N("usage: urpmi.addmedia [options] where is one of - [file:/]/ with - ftp://:\@/ with - ftp:/// with - http:/// with - removable:// with + [file:/]/ + ftp://:\@/ + ftp:/// + http:/// + removable:// 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}, ); -- cgit v1.2.1