summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Mandrake/Command/_urpmi2
-rw-r--r--Completion/Unix/Command/_links43
3 files changed, 31 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b3f2f486..ff9c23725 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-12  Oliver Kiddle  <opk@zsh.org>
+
+	* Thierry Vignaud <tvignaud@mandrakesoft.com>:
+	Completion/Unix/Command/_links, Completion/Mandrake/Command/_urpmi:
+	add option descriptions and missing options
+
 2002-11-08  Peter Stephenson  <pws@csr.com>
 
 	* 17861: Philippe Troin <phil@fifi.org>: Src/init.c: Improve
diff --git a/Completion/Mandrake/Command/_urpmi b/Completion/Mandrake/Command/_urpmi
index 0f39f8635..d03dd311f 100644
--- a/Completion/Mandrake/Command/_urpmi
+++ b/Completion/Mandrake/Command/_urpmi
@@ -129,6 +129,8 @@ _urpmi() {
 	"(--help)--noclean[do not clean RPM cache]" \
 	"(--help --src -s)"{--src,-s}"[next package is source package]" \
 	"(--help)--update[use only update media]" \
+	"(--help --verify-rpm)--no-verify-rpm[do not verify rpm signature before installation]" \
+	"(--help --no-verify-rpm)--verify-rpm[verify rpm signature before installation]" \
 	"(--help --curl)--wget[use wget to retrieve distant files]" \
 	"(--help)-a[select all packages matching command line]" \
 	"(--help -m -M)-m[choose minimum closure of requires (default)]" \
diff --git a/Completion/Unix/Command/_links b/Completion/Unix/Command/_links
index 68862bdf2..adb0651f4 100644
--- a/Completion/Unix/Command/_links
+++ b/Completion/Unix/Command/_links
@@ -4,26 +4,29 @@ local curcontext="$curcontext" state line
 typeset -A opt_args
 
 _arguments -C \
-       '-async-dns:bool:(0 1)' \
-       '-max-connections:max:' \
-       '-max-connections-to-host:max:' \
-       '-retries:retries:' \
-       '-receive-timeout:secs:' \
-       '-unrestartable-receive-timeout:secs:' \
-       '-format-cache-size:pages:' \
-       '-memory-cache-size:kilobytes:' \
-       '-http-proxy:hostport:_hosts' \
-       '-ftp-proxy:hostport:_hosts' \
-       '-download-dir:_files -/' \
-       '-assume-codepage:codepage:' \
-       '-anonymous' \
-       '-dump' \
-       '-no-connect' \
-       '-source' \
-       '-version' \
-       '-help' \
-       ':url:->html' && return 0
-
+  '(-help)-anonymous[restrict links so that it can run on an anonymous account]' \
+  '(-help)-assume-codepage[use the given codepage when the webpage did not specify its]:codepage:' \
+  '(-help)-async-dns[asynchronous DNS resolver]:bool:((0\:on 1\:off))' \
+  '(-help)-download-dir[default download directory]:_files -/' \
+  '(-help)-driver[graphics driver to use]:driver:(x svgalib fb pmshell atheos)' \
+  '(-help)-dump[dump the page as pure text]' \
+  '(-help)-format-cache-size[number of formatted document pages cached]:pages:' \
+  '(-help)-ftp-proxy[host and port number of the FTP proxy, or blank]:hostport:_hosts' \
+  '(-help)-g[run in graphics mode rather than plain text mode]' \
+  '-help[prints the help screen]' \
+  '(-help)-http-proxy[host and port number of the HTTP proxy, or blank]:hostport:_hosts' \
+  '(-help)-image-cache-size[image cache memory]:kilobytes:' \
+  '(-help)-max-connections[maximum number of concurrent connections]:max:' \
+  '(-help)-max-connections-to-host[maximum number of concurrent connection to a given host]:max:' \
+  '(-help)-memory-cache-size[cache memory]:kilobytes:' \
+  '(-help)-no-connect[runs links as a separate instance]' \
+  '(-help)-receive-timeout[timeout on receive]:secs:' \
+  '(-help)-retries[number of retries]:retries' \
+  '(-help)-source[dump the source page]' \
+  '(-help)-unrestartable-receive-timeout[timeout on non restartable connections]:secs:' \
+  '(-help)-version[prints the links version number and exit]' \
+  ':url:->html' && return 0
+  
 if [[ "$state" = html ]]; then
   _alternative 'files:file:_files -g "*.x#html"' 'urls:url:_urls'
 fi