summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
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, $_;
}