about summary refs log tree commit diff
path: root/Completion/BSD/Command/_fetch
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-12 10:37:30 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-12 10:37:30 +0000
commitb2e70921b06eee523071218c8919a27c7f4ce206 (patch)
treefc51fa290e22b0e92d96c70a769c7872dcbc106d /Completion/BSD/Command/_fetch
parent6ce77ad7ba2195687114180bc8e5476f1f1212b7 (diff)
downloadzsh-b2e70921b06eee523071218c8919a27c7f4ce206.tar.gz
zsh-b2e70921b06eee523071218c8919a27c7f4ce206.tar.xz
zsh-b2e70921b06eee523071218c8919a27c7f4ce206.zip
25435: Baptiste Daroussin <baptiste.daroussin@gmail.com>:
new and improved BSD completions
unposted: fix Solaris completion .distfiles
Diffstat (limited to 'Completion/BSD/Command/_fetch')
-rw-r--r--Completion/BSD/Command/_fetch30
1 files changed, 30 insertions, 0 deletions
diff --git a/Completion/BSD/Command/_fetch b/Completion/BSD/Command/_fetch
new file mode 100644
index 000000000..7ca59b2e0
--- /dev/null
+++ b/Completion/BSD/Command/_fetch
@@ -0,0 +1,30 @@
+#compdef fetch
+# Deprecated arguments are removed from the completion
+
+_arguments -s \
+	'-1[Stop and return exit code 0 at the first successfully retrieved file]' \
+	'-4[Forces fetch to use IPv4 addresses only]' \
+	'-6[Forces fetch to use IPv6 addresses only]' \
+	'-A[Do not automatically follow "temporary" (302) redirects]' \
+	'-a[Automatically retry the transfer upon soft failures]' \
+	'-B[Specify the read buffer size in bytes]:bytes:' \
+	'-d[Use a direct connection even if a proxy is configured]' \
+	'-F[In combination with the -r flag, forces a restart]' \
+	'-l[If the target is a file-scheme URL, make a symbolic link to the target]' \
+	'-M' \
+	'-m[Mirror mode]' \
+	'-N[Use file instead of ~/.netrc to look up login names and pass- words for FTP sites]' \
+	'-n[Do not preserve the modification time]' \
+	'-o[Set the output file name]:file:_files' \
+	'-P' \
+	'-p[Use passive FTP]' \
+	'-q[Quiet mode]' \
+	'-R[Do not delete the output file in any circumstances]' \
+	'-r[Restart a previously interrupted transfer]' \
+	'-S[Require the file size reported by the server to match the specified value]' \
+	'-s[Print the size in bytes, without fetching it]' \
+	'-T[Set timeout value]:seconds:' \
+	'-U[When using passive FTP, allocate the port for the data connection from the low port range]' \
+	'-v[Increase verbosity level]' \
+	'-w[wait successive retries]:seconds:' \
+	'*:URL to fetch:_urls'