about summary refs log tree commit diff
path: root/Etc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-20 16:56:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-20 16:56:29 +0000
commitb404fc3aeb7486f1423f54ae7a2914a0425adbac (patch)
tree767641dd10eb34aeaa1fb5c8b20380d237d5b413 /Etc
parentdcb2cc0e8b4c50b57eff9fea889acaeafb1c1569 (diff)
downloadzsh-b404fc3aeb7486f1423f54ae7a2914a0425adbac.tar.gz
zsh-b404fc3aeb7486f1423f54ae7a2914a0425adbac.tar.xz
zsh-b404fc3aeb7486f1423f54ae7a2914a0425adbac.zip
users/12798: document passing NULL flags to builtin definition
Diffstat (limited to 'Etc')
-rw-r--r--Etc/zsh-development-guide3
1 files changed, 2 insertions, 1 deletions
diff --git a/Etc/zsh-development-guide b/Etc/zsh-development-guide
index 793e2d255..77f065029 100644
--- a/Etc/zsh-development-guide
+++ b/Etc/zsh-development-guide
@@ -391,7 +391,8 @@ arguments are:
     implement multiple builtins
   - 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')
+    options `f', `l', `a', `g', and `s').  Passing NULL here disables
+    all flag handling, i.e. even "--".
   - 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