diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-10-30 19:52:44 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-10-30 19:52:44 +0000 |
commit | 135211b00b887c20b08b149a66a8e800296ee29a (patch) | |
tree | a49b6fda01327013a17f371254861405aea1696e /Src/zsh.h | |
parent | 25833cc89eef879857100d321c2140ff13f63886 (diff) | |
download | zsh-135211b00b887c20b08b149a66a8e800296ee29a.tar.gz zsh-135211b00b887c20b08b149a66a8e800296ee29a.tar.xz zsh-135211b00b887c20b08b149a66a8e800296ee29a.zip |
25971: fix options handling for builtins that handle their own
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 94d4503e4..12dee443f 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1198,6 +1198,12 @@ struct builtin { #define BINF_DASHDASHVALID (1<<15) /* Handle `--' even if SKIPINVALD */ #define BINF_CLEARENV (1<<16) /* new process started with cleared env */ #define BINF_AUTOALL (1<<17) /* autoload all features at once */ + /* + * Handles options itself. This is only useful if the option string for a + * builtin with an empty option string. It is used to indicate that "--" + * does not terminate options. + */ +#define BINF_HANDLES_OPTS (1<<18) struct module { struct hashnode node; |