diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/builtins.yo | 16 | ||||
-rw-r--r-- | Doc/Zsh/compsys.yo | 6 | ||||
-rw-r--r-- | Doc/Zsh/contrib.yo | 6 | ||||
-rw-r--r-- | Doc/Zsh/expn.yo | 2 |
4 files changed, 15 insertions, 15 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 33f112225..5bbe7e70b 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -716,11 +716,11 @@ Also when listing, startsitem() sitem(tt(-d))(prints timestamps for each event) sitem(tt(-f))(prints full time-date stamps in the US -`var(MM)tt(/)var(DD)tt(/)var(YY) var(hh):var(mm)' format) +`var(MM)tt(/)var(DD)tt(/)var(YY) var(hh)tt(:)var(mm)' format) sitem(tt(-E))(prints full time-date stamps in the European -`var(dd)tt(.)var(mm)tt(.)var(yyyy) var(hh):var(mm)' format) +`var(dd)tt(.)var(mm)tt(.)var(yyyy) var(hh)tt(:)var(mm)' format) sitem(tt(-i))(prints full time-date stamps in ISO8601 -`var(yyyy)tt(-)var(mm)tt(-)var(dd) var(hh):var(mm)' format) +`var(yyyy)tt(-)var(mm)tt(-)var(dd) var(hh)tt(:)var(mm)' format) sitem(tt(-t) var(fmt))(prints time and date stamps in the given format; var(fmt) is formatted with the strftime function with the zsh extensions described for the tt(%D{)var(string)tt(}) prompt format in @@ -1727,10 +1727,10 @@ cindex(parameters, declaring) redef(SPACES)(0)(tt(ifztexi(NOTRANS(@ @ @ @ @ @ @ @ ))ifnztexi( ))) xitem(tt(typeset )[ {tt(PLUS())|tt(-)}tt(AHUaghlmprtux) ] \ [ {tt(PLUS())|tt(-)}tt(EFLRZi) [ var(n) ] ]) -xitem(SPACES()[ tt(+) | var(name)[tt(=)var(value)] ... ]) +xitem(SPACES()[ tt(+) ] [ var(name)[tt(=)var(value)] ... ]) xitem(tt(typeset )tt(-T) [ {tt(PLUS())|tt(-)}tt(Uglprux) ] [ {tt(PLUS())|tt(-)}tt(LRZ) [ var(n) ] ]) -xitem(SPACES()[ tt(+) | var(SCALAR)[tt(=)var(value)] var(array)[tt(=)LPAR()var(value)RPAR()] [ var(sep) ] ]) -item(tt(typeset) tt(-f) [ {tt(PLUS())|tt(-)}tt(TUkmtuz) ] [ tt(+) | var(name) ... ])( +xitem(SPACES()[ tt(+) | var(SCALAR)[tt(=)var(value)] var(array)[tt(=LPAR())var(value) ...tt(RPAR())] [ var(sep) ] ]) +item(tt(typeset) tt(-f) [ {tt(PLUS())|tt(-)}tt(TUkmtuz) ] [ tt(+) ] [ var(name) ... ])( Set or display attributes and values for shell parameters. A parameter is created for each var(name) that does not already refer @@ -1760,7 +1760,7 @@ example(# Reserved word parsing typeset svar=$(echo one word) avar=(several words)) The above creates a scalar parameter tt(svar) and an array -parameter tt(var) as if the assignments had been +parameter tt(avar) as if the assignments had been example(svar="one word" avar=(several words)) @@ -1879,7 +1879,7 @@ the current state, readonly specials (whose values cannot be changed) are not shown and assignments to arrays are shown before the tt(typeset) rendering the array readonly. ) -item(tt(-T) [ var(scalar)[tt(=)var(value)] var(array)[tt(=)LPAR()var(value)...RPAR()] [ var(sep) ] ])( +item(tt(-T) [ var(scalar)[tt(=)var(value)] var(array)[tt(=LPAR())var(value) ...tt(RPAR())] [ var(sep) ] ])( This flag has a different meaning when used with tt(-f); see below. Otherwise the tt(-T) option requires zero, two, or three arguments to be present. With no arguments, the list of parameters created in this diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 290c85fc3..d067795dd 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -3567,9 +3567,9 @@ otherwise the parameter is not used. item(tt(-s))( Enable em(option stacking) for single-letter options, whereby multiple single-letter options may be combined into a single word. For example, -the two options `tt(-)var(x)' and `tt(-)var(y)' may be combined into -a single word `tt(-)var(xy)'. By default, every word corresponds to a single -option name (the `tt(-xy)' option). +the two options `tt(-x)' and `tt(-y)' may be combined into +a single word `tt(-xy)'. By default, every word corresponds to a single +option name (`tt(-xy)' is a single option named `tt(xy)'). Options beginning with a single hyphen or plus sign are eligible for stacking; words beginning with two hyphens are not. diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index 09ac5c850..e5665e675 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -2311,8 +2311,8 @@ be local to the calling function. The options tt(-l) var(lbufvar) and tt(-r) var(rbufvar) may be used to specify parameters where the widget will store the resulting text from -the operation. The parameter var(lbufvar) will contain var(LBUFFER) -and var(rbufvar) will contain var(RBUFFER). Neither of these two options +the operation. The parameter var(lbufvar) will contain tt(LBUFFER) +and var(rbufvar) will contain tt(RBUFFER). Neither of these two options may be used with tt(-S) or tt(-R). tt(narrow-to-region-invisible) is a simple widget which calls @@ -3756,7 +3756,7 @@ the difference in function between tt(zargs) and tt(xargs)) or run tt(zargs) with the tt(-)tt(-help) option. ) findex(zed) -xitem(tt(zed) [ tt(-f) [ tt(-x) var(num) ] var(name)) +xitem(tt(zed) [ tt(-f) [ tt(-x) var(num) ] ] var(name)) item(tt(zed -b))( This function uses the ZLE editor to edit a file or function. diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 4d54c42f8..d44b40a3b 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -942,7 +942,7 @@ characters by tt(GLOB_SUBST). In other words, example(pattern=${(q)str} [[ $str = ${~pattern} ]]) -works if tt($str) is tt('a*b') but not if it is tt('a b'), whereas +works if tt($str) is `tt(a*b)' but not if it is `tt(a b)', whereas example(pattern=${(b)str} [[ $str = ${~pattern} ]]) |