From fa51a38955d7d2cf4d38c0a74f35f271e338d7c0 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 12 Jul 2020 18:06:50 +0000 Subject: 46240: Make the expansion of manref()() in ztexi.yo match its expansion in zman.yo. The difference was mostly harmless in the common case "(see manref(foo)(42))", which expanded to "(see man page foo(42))" under ztexi.yo, but in other contexts the ztexi.yo expansion was was nonsensical; for example: "the BSD manref(echo)(1) command" "the string returned by the manref(getlogin)(3) system call" "advisory file locking (via the manref(fcntl)(2) system call)" "this is the exact opposite from manref(ls)(1)," While there, copyedit some uses of manref()(). --- Doc/Zsh/contrib.yo | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Doc/Zsh/contrib.yo') diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index 7cde0033f..66e6bdc1e 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -3560,7 +3560,8 @@ Calling tt(zsh-mime-setup) with the option tt(-v) causes verbose output to be shown during the setup operation. The system respects the tt(mailcap) flags tt(needsterminal) and -tt(copiousoutput), see manref(mailcap)(4). +tt(copiousoutput); see manref(mailcap)(4) or manref(mailcap)(5) +(the man page's name varies across platforms). The functions use the following styles, which are defined with the tt(zstyle) builtin command (\ @@ -4465,7 +4466,7 @@ counts the number of arguments passed to each execution of var(command), em(including) any var(arg) list. Also, any time tt(-i) or tt(-I) is used, each var(input) is processed separately as if by `tt(-L) tt(1)'. -For details of the other tt(zargs) options, see zmanref(xargs) (but note +For details of the other tt(zargs) options, see the manref(xargs)(1) man page (but note the difference in function between tt(zargs) and tt(xargs)) or run tt(zargs) with the tt(-)tt(-help) option. ) -- cgit 1.4.1