1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

17608: comment on use and abuse of BINF_SKIPINVALID

This commit is contained in:
Peter Stephenson 2002-09-03 19:33:00 +00:00
parent 30aa9063e8
commit 56565320c1
2 changed files with 14 additions and 1 deletions

@ -1,3 +1,8 @@
2002-09-03 Peter Stephenson <pws@csr.com>
* 17608: Src/builtins.c: comment on use and abuse of
BINF_SKIPINVALID.
2002-09-03 Oliver Kiddle <opk@zsh.org>
* Thomas Köhler: 176xx: Completion/Unix/Command/_ssh: also pass

@ -303,7 +303,15 @@ execbuiltin(LinkList args, Builtin bn)
argv++;
break;
}
/* unrecognised options to echo etc. are not really options */
/*
* Unrecognised options to echo etc. are not really
* options.
*
* Note this flag is not smart enough to handle option
* arguments. In fact, ideally it shouldn't be added
* to any new builtins, to preserve standard option
* handling as much as possible.
*/
if (flags & BINF_SKIPINVALID) {
char *p = arg;
if (optstr)