From b404fc3aeb7486f1423f54ae7a2914a0425adbac Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 20 Apr 2008 16:56:29 +0000 Subject: users/12798: document passing NULL flags to builtin definition --- ChangeLog | 3 +++ Etc/zsh-development-guide | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5c971c1ae..b3db780cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-04-20 Peter Stephenson + * 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 -- cgit v1.2.3