Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: zsh-development-guide clarification
- X-seq: zsh-workers 37079
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: zsh-development-guide clarification
- Date: Sun, 8 Nov 2015 12:01:46 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern_com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:to:subject:mime-version:content-type; bh=4pVzbaJz7GBp2SaA4QHOaJ5Gf0fFLCkmdobOWOOE/9c=; b=j+XuHLxX/Sy3Wk2sq2tCyC+f7PXSMCWXUVzUfPSlOnXaP+PGMU21grhSSBCC6SK58g 0Kxi3rbfzHo9GSuscUt2lOHRn+pQBH/4NYyys6SFmyflr/Lnb3vkssGitQDB1tS70oCx hIrorecTuQsJydQd2TvN46B5jeYlZoVdRPJpoziq9yk6IOQWSMrcmL5t+GS37ercyG3t qOm8tI1vnkMl/H0vjIjDHCTcg3aiH9wdE/vGRzc3ZZcoBaqRQBV5XmYFQywQT6SbTWTR psHFOLWumP2/Lo94iI5hpYfHNC8rxr+C25jPvcUcamsUxYuVHgln82Ch7UNBXam0SmvW fZdw==
- 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
Some missing detail about the meaning of fields in "struct builtin".
diff --git a/Etc/zsh-development-guide b/Etc/zsh-development-guide
index 9ca441b..c4aa1b2 100644
--- a/Etc/zsh-development-guide
+++ b/Etc/zsh-development-guide
@@ -503,7 +503,9 @@ arguments are:
- the options the builtin accepts, given as a string containing the
option characters (the above example makes the builtin accept the
options `f', `l', `a', `g', and `s'). Passing NULL here disables
- all flag handling, i.e. even "--".
+ all flag handling, i.e. even "--". Each option letter may be
+ followed by one of ":" (argument must follow), "::" (optional
+ argument may follow), or ":%" (optional numeric argument).
- and finally a optional string containing option characters that
will always be reported as set when calling the C-function (this,
too, can be used when using one C-function to implement multiple
Messages sorted by:
Reverse Date,
Date,
Thread,
Author