From becf65dd7f1e512995eb928f212491d6b1cc8cc7 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 18 Feb 2002 14:36:01 +0000 Subject: allow an argument containing only a single colon as a separator between options to _arguments and specs (16669) --- Src/Zle/computil.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/Zle/computil.c') diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index ae94bdf57..b5610fb77 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -1065,6 +1065,8 @@ parse_cadef(char *nam, char **args) args++; } + if (*args && !strcmp(*args, ":")) + args++; if (!*args) return NULL; -- cgit v1.2.3