Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH 2/2] Fix typos in completion style guide.



On Sun, Oct 12, 2008 at 11:24:23AM +0200, Mikael Magnusson wrote:
> ---
>  Etc/completion-style-guide |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Etc/completion-style-guide b/Etc/completion-style-guide

This one broke because of wrapping.  Hand-applied; you can check what
I've missed this time below:

Index: Etc/completion-style-guide
===================================================================
RCS file: /cvsroot/zsh/zsh/Etc/completion-style-guide,v
retrieving revision 1.8
diff -u -r1.8 completion-style-guide
--- Etc/completion-style-guide	23 Jul 2003 11:06:59 -0000	1.8
+++ Etc/completion-style-guide	12 Oct 2008 10:58:14 -0000
@@ -8,7 +8,7 @@
 Coding style:
 
 * Use two spaces for indentation and four for continuation lines except
-  where there are many continutation lines such as `_arguments' or
+  where there are many continuation lines such as `_arguments' or
   `_values' specs. Lines tend to be longer than in C code so less
   indentation makes sense.
 
@@ -46,7 +46,7 @@
 per-match descriptions; they are better placed in the group
 descriptions. Put the units in parentheses after the description. So
 for example, do not use:
-  '--timeout[specifiy connection timeout in milliseconds]:timeout'
+  '--timeout[specify connection timeout in milliseconds]:timeout'
 but use:
   '--timeout[specify connection timeout]:timeout (ms)'
   
@@ -63,7 +63,7 @@
 
 Where two matches have identical meaning, give them the same
 description so that the completion system can group them together.
-Conventionally a brace exapansion of this form is used:
+Conventionally a brace expansion of this form is used:
   '(--context,-C)'{--context=,-C-}'[specify lines of context]:lines'
 You won't need the exclusion list if the option can be specified
 multiple times. It can also be useful to use the same description for



Messages sorted by: Reverse Date, Date, Thread, Author