about summary refs log tree commit diff
path: root/Doc/ztexi.yo
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-07-12 18:06:50 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-07-13 14:05:37 +0000
commitfa51a38955d7d2cf4d38c0a74f35f271e338d7c0 (patch)
treecd49c99e9a8209517108edbbe9972963436e4501 /Doc/ztexi.yo
parentb5f24592adf1bcca0f238e55c04d184d36599420 (diff)
downloadzsh-fa51a38955d7d2cf4d38c0a74f35f271e338d7c0.tar.gz
zsh-fa51a38955d7d2cf4d38c0a74f35f271e338d7c0.tar.xz
zsh-fa51a38955d7d2cf4d38c0a74f35f271e338d7c0.zip
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()().
Diffstat (limited to 'Doc/ztexi.yo')
-rw-r--r--Doc/ztexi.yo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ztexi.yo b/Doc/ztexi.yo
index 7d52e6e91..50bae6d48 100644
--- a/Doc/ztexi.yo
+++ b/Doc/ztexi.yo
@@ -150,7 +150,7 @@ def(comment)(1)(\
 
 COMMENT(--- cross-references ---)
 
-def(manref)(2)(man page ARG1+LPAR()ARG2+RPAR())
+def(manref)(2)(ARG1+LPAR()ARG2+RPAR())
 def(zmanref)(1)(manref(ARG1)(1))
 def(noderef)(1)(\
   NOTRANS(@ref{)ARG1+NOTRANS(})\