1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 12:40:58 +02:00

users/12798: document passing NULL flags to builtin definition

This commit is contained in:
Peter Stephenson 2008-04-20 16:56:29 +00:00
parent dcb2cc0e8b
commit b404fc3aeb
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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