diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-20 16:56:29 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-20 16:56:29 +0000 |
commit | b404fc3aeb7486f1423f54ae7a2914a0425adbac (patch) | |
tree | 767641dd10eb34aeaa1fb5c8b20380d237d5b413 | |
parent | dcb2cc0e8b4c50b57eff9fea889acaeafb1c1569 (diff) | |
download | zsh-b404fc3aeb7486f1423f54ae7a2914a0425adbac.tar.gz zsh-b404fc3aeb7486f1423f54ae7a2914a0425adbac.tar.xz zsh-b404fc3aeb7486f1423f54ae7a2914a0425adbac.zip |
users/12798: document passing NULL flags to builtin definition
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Etc/zsh-development-guide | 3 |
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 |