about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-11-07 22:47:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-11-07 22:47:07 +0000
commitf367a90505811cf2125549e4d376c33f691bde57 (patch)
treecf5b22b3dd9cac6a8bbee4576fdcb268454c63e1 /Doc
parentf7b9bf300aaab8fe67540082a25489890db91657 (diff)
downloadzsh-f367a90505811cf2125549e4d376c33f691bde57.tar.gz
zsh-f367a90505811cf2125549e4d376c33f691bde57.tar.xz
zsh-f367a90505811cf2125549e4d376c33f691bde57.zip
22980: 22952 messed up parameter padding flag optional arguments
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/expn.yo14
1 files changed, 9 insertions, 5 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 584977c18..4095dab2b 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -899,11 +899,15 @@ flag or the tt(SH_WORD_SPLIT) option.
 )
 item(tt(l:)var(expr)tt(::)var(string1)tt(::)var(string2)tt(:))(
 Pad the resulting words on the left.  Each word will be truncated if
-required and placed in a field var(expr) characters wide.  The space
-to the left will be filled with var(string1) (concatenated as often
-as needed) or spaces if var(string1) is not given.  If both
-var(string1) and var(string2) are given, tt(string2) is inserted
-once directly to the left of each word, truncated if necessary, before
+required and placed in a field var(expr) characters wide.
+
+The arguments tt(:)var(string1)tt(:) and tt(:)var(string2)tt(:) are
+optional; neither, the first, or both may be given.  Note that the same
+pairs of delimiters must be used for each of the three arguments.  The
+space to the left will be filled with var(string1) (concatenated as
+often as needed) or spaces if var(string1) is not given.  If both
+var(string1) and var(string2) are given, tt(string2) is inserted once
+directly to the left of each word, truncated if necessary, before
 var(string1) is used to produce any remaining padding.
 
 If the tt(MULTIBYTE) option is in effect, the flag tt(m) may also