summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-10-25 07:58:56 +0000
committerFrancois Pons <fpons@mandriva.com>2002-10-25 07:58:56 +0000
commit9b0551b8268d4c755d6090f18665ff97036abf44 (patch)
tree7cb6c11e15d12457e42b513a6dce1c40cab7f7e4 /urpmi.update
parent8621a2d4e8b5f15dfc8cf87182899f83702c6275 (diff)
downloadurpmi-9b0551b8268d4c755d6090f18665ff97036abf44.tar
urpmi-9b0551b8268d4c755d6090f18665ff97036abf44.tar.gz
urpmi-9b0551b8268d4c755d6090f18665ff97036abf44.tar.bz2
urpmi-9b0551b8268d4c755d6090f18665ff97036abf44.tar.xz
urpmi-9b0551b8268d4c755d6090f18665ff97036abf44.zip
4.0-22mdk
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update11
1 files changed, 6 insertions, 5 deletions
diff --git a/urpmi.update b/urpmi.update
index e9c5a32d..06373277 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -57,17 +57,18 @@ sub main {
/^--?noa/ and next; #- default, keeped for compability.
/^-/ and die _("usage: urpmi.update [options] <name> ...
where <name> is a medium name to update.
-") . _(" -a - select all non-removable media.
-") . _(" -c - clean headers cache directory.
-") . _(" -d - force complete computation of depslist.ordered file.
-") . _(" -f - force generation of hdlist files.
+") . _(" --help - print this help message.
") . _(" --wget - use wget to retrieve distant files.
") . _(" --curl - use curl to retrieve distant files.
") . _(" --proxy - use specified HTTP proxy, the port number is assumed
to be 1080 by default (format is <proxyhost[:port]>).
") . _(" --proxy-user - specify user and password to use for proxy
authentication (format is <user:password>).
-") . _("\nunknown options '%s'\n", $_);
+") . _(" -a - select all non-removable media.
+") . _(" -c - clean headers cache directory.
+") . _(" -d - force complete computation of depslist.ordered file.
+") . _(" -f - force generation of hdlist files.
+") . (/^--?h(?:elp)$/ ? _("\nunknown options '%s'\n", $_) : '');
push @toupdates, $_;
}