1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

29328: Another missing backslash in _git, remove some not needed backslashes in array definitions.

This commit is contained in:
Mikael Magnusson 2011-05-22 02:13:55 +00:00
parent 0198b8423d
commit 59a0b52e61
7 changed files with 19 additions and 14 deletions

View file

@ -1,3 +1,8 @@
2011-05-22 Mikael Magnusson <mikachu@gmail.com>
* 29328: Another missing backslash in _git, remove some not
needed backslashes in array definitions.
2011-05-19 Mikael Magnusson <mikachu@gmail.com>
* 29224: Support negative LEN in ${VAR:OFFSET:LEN} like bash.
@ -14761,5 +14766,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5314 $
* $Revision: 1.5315 $
*****************************************************

View file

@ -55,7 +55,7 @@ _rpm () {
'--httpport:http port number'
{-\?,--help}'[print help information]'
'--version[print version number]'
'--pipe:pipe command:->command' \
'--pipe:pipe command:->command'
)
# package selection options of which only one can be used

View file

@ -3958,7 +3958,7 @@ _git-name-rev () {
'--refs=[only use refs matching given pattern]: :_guard "?#" "shell pattern"' \
'(--stdin :)--all[list all commits reachable from all refs]' \
'(--all :)--stdin[read from stdin and append revision-name]' \
'--name-only[display only name of commits]'
'--name-only[display only name of commits]' \
'--no-undefined[die with non-zero return when a reference is undefined]' \
'--always[show uniquely abbreviated commit object as fallback]' \
'(--stdin --all)*: :__git_commits' && ret=0

View file

@ -8,7 +8,7 @@ local _gnutls_cli_common_args
_gnutls_cli_common_args=(
'(-d --debug)'{-d,--debug}':debug level'
'(-p --port)'{-p,--port}':port'
'(-h --help)'{-h,--help}'[help]' \
'(-h --help)'{-h,--help}'[help]'
)
case "$service" in

View file

@ -22,7 +22,7 @@ gpgbasic=('(-e --encrypt)'{-e,--encrypt}'[encrypt data. this option may be combi
'(-c --symmetric)'{-c,--symmetric}'[encrypt with symmetric cypher only]'
'(-s --sign)'{-s,--sign}'[make a signature]'
'*'{-r+,--recipient}'[specify user to encrypt for]:recipient:->public-keys'
'(-u --local-user)'{-u+,--local-user}'[use name as the user ID to sign]:user attachment:_users'\
'(-u --local-user)'{-u+,--local-user}'[use name as the user ID to sign]:user attachment:_users'
'(-o --output)'{-o+,--output}'[write output to file]:output file:_files'
'(-h --help)'{-h,--help}'[display usage information]'
'--version[print info on program version and supported algorithms]')
@ -44,7 +44,7 @@ gpgextra=('--decrypt-files[decrypt multiple files]'
'--list-packets[list only the sequence of packets]'
'--gen-key[generate a new pair key]'
'--edit-key[a menu for edit yours keys]:key attachment:->public-keys'
'--sign-key[sign a key]:key attachment:->public-keys'\
'--sign-key[sign a key]:key attachment:->public-keys'
'--lsign-key[sign a key but mark as non-exportable]:key attachment:->public-keys'
'--nrsign-key[sign a key non-revocably]'
'--delete-key[remove key from public keyring]:key attachment:->public-keys'

View file

@ -75,13 +75,13 @@ find_expressions=(
'*-size[true if the size of the file is in the given range]:range'
'*-sparse[true if the file appears to be sparse]'
'*-true[always true]'
'*-type[true if the file is of the given type]:file type:((b\:"block (buffered) special" \
c\:"character (unbuffered) special" \
d\:directory \
p\:"named pipe (FIFO)" \
f\:"regular file" \
l\:"symbolic link" \
s\:socket \
'*-type[true if the file is of the given type]:file type:((b\:"block (buffered) special"
c\:"character (unbuffered) special"
d\:directory
p\:"named pipe (FIFO)"
f\:"regular file"
l\:"symbolic link"
s\:socket
D\:"door (Solaris)"
e\:unknown))'
'*-user[true if the file is owned by the given user]:user:_users'

View file

@ -31,7 +31,7 @@ args+=(
'(- 1 *)'{-i,--info}'[PHP information]'
'(- *)'{-l,--syntax-check}'[syntax check only (lint)]'
'(- 1 *)'{-m,--modules}'[show compiled in modules]'
"(-r --run -f --file $exclusions -l --syntax-check -s --syntax-highlight -w --strip 1)"{-r,--run}'[run the specified PHP code without using script tags <?..?>]:PHP code:'\
"(-r --run -f --file $exclusions -l --syntax-check -s --syntax-highlight -w --strip 1)"{-r,--run}'[run the specified PHP code without using script tags <?..?>]:PHP code:'
'(- 1 *)'{-s,--syntax-highlight}'[display colour syntax highlighted source]'
'(- 1 *)'{-v,--version}'[display version information]'
'(- *)'{-w,--strip}'[display source with stripped comments and whitespace]'