chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] stop run-time option processing after "--"


From: felix . winkelmann
Subject: Re: [PATCH] stop run-time option processing after "--"
Date: Mon, 13 Mar 2023 21:48:59 +0100

> Perhaps the safest here is to stop processing after reading ":-"
> or some such (and discard it!) - that would be guaranteed to never
> pass through to the program anyway, because it might be a runtime
> option and already gets intercepted by the option parser.
>

As an afterthought: I find that a single well known marker to disable
_all_ option processing (whether r/t or application-specific) seems
more intuitive to me than adding yet another special case, which
will only result in uglyness, like "my-program ... :- -- ...".


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]