From d666896fa3e75e65fb26240d4164e5130b2a3392 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 17 Jul 2000 08:05:56 +0000 Subject: don't treat non-option arguments as options (12266) --- Src/Zle/computil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/computil.c') 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) -- cgit 1.4.1