~ntt-pf-lab/nova/monkey_patch_notification

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/twisted/python/zsh/_cftp

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#compdef cftp
 
2
_arguments -s -A "-*" \
 
3
'1:host | user@host:{_ssh;if compset -P "*@"; then _wanted hosts expl "remote host name" _ssh_hosts && ret=0 elif compset -S "@*"; then _wanted users expl "login name" _ssh_users -S "" && ret=0 else if (( $+opt_args[-l] )); then tmp=() else tmp=( "users:login name:_ssh_users -qS@" ) fi; _alternative "hosts:remote host name:_ssh_hosts" "$tmp[@]" && ret=0 fi}' \
 
4
'2::localfile:{if [[ $words[1] == *:* ]]; then; _files; fi}' \
 
5
'(--noagent -a --agent)-A[Enable authentication agent forwarding]' \
 
6
'(--noagent -a -A)--agent[Enable authentication agent forwarding]' \
 
7
"(--batchfile)-b[File to read commands from, or '-' for stdin.]:batchfile:_files" \
 
8
"(-b)--batchfile=[File to read commands from, or '-' for stdin.]:batchfile:_files" \
 
9
'(--buffersize)-B[Size of send/receive buffer (default: 32768)]:buffersize:_files' \
 
10
'(-B)--buffersize=[Size of send/receive buffer (default: 32768)]:buffersize:_files' \
 
11
"(--ciphers)-c[Select encryption algorithms]:ciphers:_values -s , 'ciphers to choose from' idea-ctr blowfish-ctr none arcfour aes256-ctr cast128-ctr idea-cbc blowfish-cbc 3des-cbc aes256-cbc 3des-ctr cast128-cbc aes128-ctr aes192-cbc aes192-ctr aes128-cbc" \
 
12
"(-c)--ciphers=[Select encryption algorithms]:ciphers:_values -s , 'ciphers to choose from' idea-ctr blowfish-ctr none arcfour aes256-ctr cast128-ctr idea-cbc blowfish-cbc 3des-cbc aes256-cbc 3des-ctr cast128-cbc aes128-ctr aes192-cbc aes192-ctr aes128-cbc" \
 
13
'(--compress)-C[Enable compression.]' \
 
14
'(-C)--compress[Enable compression.]' \
 
15
"(--connection-usage)-K[Connection types to use]:connection-usage:_values -s , 'connection types to choose from' unix direct" \
 
16
"(-K)--connection-usage=[Connection types to use]:connection-usage:_values -s , 'connection types to choose from' unix direct" \
 
17
'--help[Display this help and exit.]' \
 
18
"--host-key-algorithms=[Select host key algorithms]:host-key-algorithms:_values -s , 'host key algorithms to choose from' ssh-rsa ssh-dss" \
 
19
'(--identity)-i[Identity for public-key authentication]:identity:_files' \
 
20
'(-i)--identity=[Identity for public-key authentication]:identity:_files' \
 
21
'--known-hosts=[File to check for host keys]:known-hosts:_files' \
 
22
'(--log)-v[Enable logging (defaults to stderr)]' \
 
23
'(-v)--log[Enable logging (defaults to stderr)]' \
 
24
'--logfile=[File to log to, or - for stdout]:logfile:_files' \
 
25
"(--macs)-m[Specify MAC algorithms]:macs:_values -s , 'macs to choose from' hmac-sha1 none hmac-md5" \
 
26
"(-m)--macs=[Specify MAC algorithms]:macs:_values -s , 'macs to choose from' hmac-sha1 none hmac-md5" \
 
27
'(--agent -A --noagent)-a[Disable authentication agent forwarding (default)]' \
 
28
'(--agent -A -a)--noagent[Disable authentication agent forwarding (default)]' \
 
29
'(--nocache)-I[Do not allow connection sharing over this connection.]' \
 
30
'(-I)--nocache[Do not allow connection sharing over this connection.]' \
 
31
'(--nox11)-x[Disable X11 connection forwarding (default)]' \
 
32
'(-x)--nox11[Disable X11 connection forwarding (default)]' \
 
33
'(--option)-o[Ignored OpenSSH options]:option:_files' \
 
34
'(-o)--option=[Ignored OpenSSH options]:option:_files' \
 
35
'(--port)-p[Connect to this port.  Server must be on the same port.]:port:_files' \
 
36
'(-p)--port=[Connect to this port.  Server must be on the same port.]:port:_files' \
 
37
'(--reconnect)-r[Reconnect to the server if the connection is lost.]' \
 
38
'(-r)--reconnect[Reconnect to the server if the connection is lost.]' \
 
39
'(--requests)-R[Number of requests to make before waiting for a reply.]:requests:_files' \
 
40
'(-R)--requests=[Number of requests to make before waiting for a reply.]:requests:_files' \
 
41
'(--subsystem)-s[Subsystem/server program to connect to.]:subsystem:_files' \
 
42
'(-s)--subsystem=[Subsystem/server program to connect to.]:subsystem:_files' \
 
43
'(--user)-l[Log in using this user name.]:user:_users' \
 
44
'(-l)--user=[Log in using this user name.]:user:_users' \
 
45
'--user-authentications=[Types of user authentications to use.]:user-authentications:_files' \
 
46
'(--version)-V[Display version number only.]' \
 
47
'(-V)--version[Display version number only.]' \
 
48
&& return 0