From 135211b00b887c20b08b149a66a8e800296ee29a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 30 Oct 2008 19:52:44 +0000 Subject: 25971: fix options handling for builtins that handle their own --- Src/zsh.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Src/zsh.h') 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; -- cgit v1.2.3