zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: zsh-development-guide clarification
@ 2015-11-08 20:01 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2015-11-08 20:01 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-08 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-08 20:01 PATCH: zsh-development-guide clarification Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).