1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

fix for comparguments to make -s have an effect again (11552)

This commit is contained in:
Sven Wischnowsky 2000-05-24 08:32:12 +00:00
parent fae0b54f1c
commit 8f7beea079
3 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2000-05-24 Sven Wischnowsky <wischnow@zsh.org>
* 11552: Completion/Linux/_rpm, Src/Zle/computil.c: fix for
comparguments to make -s have an effect again
2000-05-24 Clint Adams <schizo@debian.org>
* 11548: Completion/User/_ispell: add -h switch to

View file

@ -96,7 +96,7 @@ while [[ -n "$state" ]]; do
case "$lstate" in
query)
_arguments -s \
'*-v[verbose mode]' -q \
'*-v[verbose mode]' -q -c \
'--rcfile:resource file:_files' \
'--ftpproxy:FTP proxy server:_hosts' \
'--ftpport:FTP port number:' \

View file

@ -628,7 +628,6 @@ parse_cadef(char *nam, char **args)
all = ret = alloc_cadef(oargs, single, match, flags);
optp = &(ret->opts);
single = flags = 0;
anum = 1;
sargs = args;
@ -664,7 +663,7 @@ parse_cadef(char *nam, char **args)
set_cadef_opts(ret);
ret = ret->snext = alloc_cadef(NULL, single, NULL, flags);
optp = &(ret->opts);
single = flags = nopts = ndopts = nodopts = 0;
nopts = ndopts = nodopts = 0;
anum = 1;
}
continue;