diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-02-18 14:36:01 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-02-18 14:36:01 +0000 |
commit | becf65dd7f1e512995eb928f212491d6b1cc8cc7 (patch) | |
tree | 675504523c72fbf12d1455e8801399cee82bb492 /Src/Zle/computil.c | |
parent | fa509f5219e18b664a7e559169d849b2ec9fb6f1 (diff) | |
download | zsh-becf65dd7f1e512995eb928f212491d6b1cc8cc7.tar.gz zsh-becf65dd7f1e512995eb928f212491d6b1cc8cc7.tar.xz zsh-becf65dd7f1e512995eb928f212491d6b1cc8cc7.zip |
allow an argument containing only a single colon as a separator between options to _arguments and specs (16669)
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r-- | Src/Zle/computil.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |