about summary refs log tree commit diff
path: root/Completion/BSD/Command/_fetch
blob: 3136763a0b7ffd46b6c7e50cbb80cfacb4397ad0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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'