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: Lassi Kortela
Subject: Re: [PATCH] stop run-time option processing after "--"
Date: Tue, 14 Mar 2023 10:33:25 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

Making it compatible might be nice, but involves a change in how these
options are parsed - they're comma separated.  I wouldn't be opposed to
this change, but it deviates further from what we have making backwards
compatibility more of an issue.  This might not be a problem since these
options are relatively obscure and it should be easy to tweak a calling
script.

It would be harder to make a script that can work with older and newer
versions of CHICKEN, since the old one wouldn't grok commas in the
options and the new one wouldn't grok separately supplied options.

Perhaps something for CHICKEN 6?

Sorry, I didn't realize Chicken uses separate args instead of one comma-separated arg.

In that case, consuming initial arguments while they start with "-:" would be a reasonable modification.

The two-character arg "-:" to stop processing is a good idea as well.



reply via email to

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