summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Etc/zsh-development-guide3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c971c1ae..b3db780cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-04-20  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* users/12798: Etc/zsh-development-guide: passing NULL flags
+	to builtin definition.
+
 	* users/12793: William Scott: Completion/BSD/Command/_chflags:
 	hidden/nohidden flags.
 
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