mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
zsh-workers/7580
This commit is contained in:
parent
d160110646
commit
b785e1b02f
3 changed files with 41 additions and 9 deletions
|
@ -4,7 +4,7 @@
|
||||||
_arguments -s \
|
_arguments -s \
|
||||||
-{a,f,H,l,n,Q,q,r,t,v,w,x} \
|
-{a,f,H,l,n,Q,q,r,t,v,w,x} \
|
||||||
'--version' '--help' '--help-commands' '--help-synonyms' '--help-options' \
|
'--version' '--help' '--help-commands' '--help-synonyms' '--help-options' \
|
||||||
'--allow-root=-:rootdir:_files -/' \
|
'--allow-root=:rootdir:_files -/' \
|
||||||
'-b+:bindir:_cvs_bindir' \
|
'-b+:bindir:_cvs_bindir' \
|
||||||
'-T+:temporary directory:_cvs_tempdir' \
|
'-T+:temporary directory:_cvs_tempdir' \
|
||||||
'-d+:cvsroot:_cvs_root' \
|
'-d+:cvsroot:_cvs_root' \
|
||||||
|
|
|
@ -2,14 +2,46 @@
|
||||||
|
|
||||||
# "+abcdefhilnpstuw0123456789BHNRC:D:F:I:L:U:V:W:k:r:"
|
# "+abcdefhilnpstuw0123456789BHNRC:D:F:I:L:U:V:W:k:r:"
|
||||||
_arguments -s \
|
_arguments -s \
|
||||||
-{a,b,c,d,e,f,h,i,l,n,p,s,t,u,w,0,1,2,3,4,5,6,7,8,9,B,H,N,R} \
|
-{l,R} \
|
||||||
'-C:lines:' \
|
|
||||||
'-D+:date:_cvs_D' \
|
'-D+:date:_cvs_D' \
|
||||||
'-F+:regex:' \
|
|
||||||
'-I+:regex:' \
|
|
||||||
'*-L+:label:' \
|
|
||||||
'-U:lines:' \
|
|
||||||
'-W:columns:' \
|
|
||||||
'-k+:keyword substitution:_cvs_k' \
|
'-k+:keyword substitution:_cvs_k' \
|
||||||
'-r+:tag:_cvs_revisions' \
|
'-r+:tag:_cvs_revisions' \
|
||||||
|
-{h,p,0,1,2,3,4,5,6,7,8,9} \
|
||||||
|
'--binary' \
|
||||||
|
'--brief' \
|
||||||
|
'--changed-group-format=:format:' \
|
||||||
|
'-c' '-C+:lines:' '--context=-:lines:' \
|
||||||
|
'-e' '--ed' \
|
||||||
|
'-t' '--expand-tabs' \
|
||||||
|
'-f' '--forward-ed' \
|
||||||
|
'--horizon-lines=:lines:' \
|
||||||
|
'--ifdef=:name:' \
|
||||||
|
'-w' '--ignore-all-space' \
|
||||||
|
'-B' '--ignore-blank-lines' \
|
||||||
|
'-i' '--ignore-case' \
|
||||||
|
'-I+:regex:' '--ignore-matching-lines=:regex:' \
|
||||||
|
'-b' '--ignore-space-change' \
|
||||||
|
'--initial-tab' \
|
||||||
|
'*-L+:label:' '*--label=:label:' \
|
||||||
|
'--left-column' \
|
||||||
|
'--line-format=:format:' \
|
||||||
|
'-d' '--minimal' \
|
||||||
|
'-N' '--new-file' \
|
||||||
|
'--new-group-format=:format:' \
|
||||||
|
'--new-line-format=:format:' \
|
||||||
|
'--old-group-format=:format:' \
|
||||||
|
'--old-line-format=:format:' \
|
||||||
|
'--paginate' \
|
||||||
|
'-n' '--rcs' \
|
||||||
|
'-s' '--report-identical-files' \
|
||||||
|
'--show-c-function' \
|
||||||
|
'-F+:regex:' '--show-function-line=:regex:' \
|
||||||
|
'-y' '--side-by-side' \
|
||||||
|
'-H' '--speed-large-files' \
|
||||||
|
'--suppress-common-lines' \
|
||||||
|
'-a' '--text' \
|
||||||
|
'--unchanged-group-format=:format:' \
|
||||||
|
'--unchanged-line-format=:format:' \
|
||||||
|
'-u' '-U+:lines:' '--unified=-:lines:' \
|
||||||
|
'-W:columns:' '--width=:columns:' \
|
||||||
'*:file:_cvs_diff_arg'
|
'*:file:_cvs_diff_arg'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#autoload
|
#autoload
|
||||||
|
|
||||||
compset -P '*'
|
compset -P '*'
|
||||||
# It should describe meaning.
|
|
||||||
compadd "$@" -y '(
|
compadd "$@" -y '(
|
||||||
F\ --\ release
|
F\ --\ release
|
||||||
O\ --\ checkout
|
O\ --\ checkout
|
||||||
|
|
Loading…
Reference in a new issue