Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: fix _describe documentation
- X-seq: zsh-workers 35418
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: PATCH: fix _describe documentation
- Date: Mon, 08 Jun 2015 22:56:58 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1433797019; bh=Uc0KoHM0UwmyxplbtnutA/lDvgyNDLq8r+l6zwvBx2s=; h=From:To:Subject:Date:From:Subject; b=KOciQvPWFib9l+q4VFZwFoJNXJStmxbNyntAahqFYS+lH9to+i6qUpnOGiK4NOAfS+HsifQZzJjM52w6ezBStKQJ18zQcA/+YMawoaFHx9tm0TSP3mzHp+dFG1aMewBGOjlspIYveoQIM0CBThgi6pQMmZXSZeenumnEWFN/6w1lkpAXUqX/QaABkKPWTpFVJc8xMSnKQdfOB2vyg5jcnPbFiUn5P7VAk5qut0DYSzIR+1F5uHRk4cprfWhodD2nzaAXAEHUa6brsP+GCJjvICDO475VEJxAv6h+/WoLynV3wd70LYJHvpHCctTqgRqNRgsmyYdBLLWvLLf9xg93nA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
A recent elaboration of the usage synopsis for _describe makes it appear
that a different description is specified for each group. That's not
the case.
Oliver
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index a081ea3..af906bf 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -4158,7 +4158,7 @@ the functions for the fields if they are called.
findex(_describe)
redef(SPACES)(0)(tt(ifztexi(NOTRANS(@ @ @ @ @ @ @ @ @ @ ))ifnztexi( )))
xitem(tt(_describe )[tt(-12JVx)] [ tt(-oO) | tt(-t) var(tag) ] var(descr) var(name1) [ var(name2) ] [ var(opt) ... ])
-item(SPACES()[ tt(-)tt(-) var(descr) var(name1) [ var(name2) ] [ var(opt) ... ] ... ])(
+item(SPACES()[ tt(-)tt(-) var(name1) [ var(name2) ] [ var(opt) ... ] ... ])(
This function associates completions with descriptions.
Multiple groups separated by tt(-)tt(-) can be supplied, potentially with
different completion options var(opt)s.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author