From 56565320c18ec4ba9e7ca4ad7207b62eccc50f7b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 3 Sep 2002 19:33:00 +0000 Subject: 17608: comment on use and abuse of BINF_SKIPINVALID --- Src/builtin.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/builtin.c b/Src/builtin.c index 628f23f83..c3951c77f 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -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) -- cgit 1.4.1