about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-05-22 02:13:55 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-05-22 02:13:55 +0000
commit59a0b52e6159b91d0fdc015a440858a8bb221aca (patch)
tree727251fd3b15fa7559707ec338e662124c570e32
parent0198b8423dfd4aab7f1c1d2b2938cb5124724212 (diff)
downloadzsh-59a0b52e6159b91d0fdc015a440858a8bb221aca.tar.gz
zsh-59a0b52e6159b91d0fdc015a440858a8bb221aca.tar.xz
zsh-59a0b52e6159b91d0fdc015a440858a8bb221aca.zip
29328: Another missing backslash in _git, remove some not needed backslashes in array definitions.
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Redhat/Command/_rpm2
-rw-r--r--Completion/Unix/Command/_git2
-rw-r--r--Completion/Unix/Command/_gnutls2
-rw-r--r--Completion/Unix/Command/_gpg4
-rw-r--r--Completion/Unix/Command/_growisofs14
-rw-r--r--Completion/Unix/Command/_php2
7 files changed, 19 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 669d31ef2..387cc563c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
 *****************************************************
diff --git a/Completion/Redhat/Command/_rpm b/Completion/Redhat/Command/_rpm
index 184d7b00d..83922b60c 100644
--- a/Completion/Redhat/Command/_rpm
+++ b/Completion/Redhat/Command/_rpm
@@ -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
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 2f6188824..b1a509dd4 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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
diff --git a/Completion/Unix/Command/_gnutls b/Completion/Unix/Command/_gnutls
index 64f8e3cf5..169e38b38 100644
--- a/Completion/Unix/Command/_gnutls
+++ b/Completion/Unix/Command/_gnutls
@@ -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
diff --git a/Completion/Unix/Command/_gpg b/Completion/Unix/Command/_gpg
index 3043f7abb..6f2fd4834 100644
--- a/Completion/Unix/Command/_gpg
+++ b/Completion/Unix/Command/_gpg
@@ -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'
diff --git a/Completion/Unix/Command/_growisofs b/Completion/Unix/Command/_growisofs
index 09a04c6e4..dcccf64a4 100644
--- a/Completion/Unix/Command/_growisofs
+++ b/Completion/Unix/Command/_growisofs
@@ -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'
diff --git a/Completion/Unix/Command/_php b/Completion/Unix/Command/_php
index 7688dd571..bbb6a667b 100644
--- a/Completion/Unix/Command/_php
+++ b/Completion/Unix/Command/_php
@@ -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]'