diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-07-17 08:05:56 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-07-17 08:05:56 +0000 |
commit | d666896fa3e75e65fb26240d4164e5130b2a3392 (patch) | |
tree | 10fe64063983bb989e9c7dc97bf09c79fae15342 /Src | |
parent | 5d04a4010a39211f25ea8464107cae28bf85469d (diff) | |
download | zsh-d666896fa3e75e65fb26240d4164e5130b2a3392.tar.gz zsh-d666896fa3e75e65fb26240d4164e5130b2a3392.tar.xz zsh-d666896fa3e75e65fb26240d4164e5130b2a3392.zip |
don't treat non-option arguments as options (12266)
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/computil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index c26e9abc4..ae3238428 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -1112,7 +1112,7 @@ ca_get_sopt(Cadef d, char *line, char **end, LinkList *lp) } } else if (!p || (p && !p->active)) return NULL; - pp = p; + pp = (p->name[0] == pre ? p : NULL); p = NULL; } if (pp && end) |