chicken-hackers
[Top][All Lists]
Advanced

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

[PATCH] Stop run-time option processing after first "-:" or non-runtime


From: felix . winkelmann
Subject: [PATCH] Stop run-time option processing after first "-:" or non-runtime option (was: Re: [PATCH] stop run-time option processing after "--")
Date: Sat, 08 Apr 2023 12:13:27 +0200

> On Tue, Mar 14, 2023 at 08:43:52AM +0100, Peter Bex wrote:
> > On Tue, Mar 14, 2023 at 08:40:18AM +0100, felix.winkelmann@bevuta.com wrote:
> > > Backwards compatibility is from now on fucked anyway, so let's
> > > try to find somethin simple and sensible.
> >
> > Then we should do both.  I.e., have -: to explicitly tell it to stop
> > parsing (and have that dropped from the command-line-options) and
> > stop at the first argument.  The -: would be in situations where
> > a script just passes on all its arguments, like
> >
> > ./my-program -: "$@"
>
> Here's a patch that implements this proposal.
>

All right then... I'm not happy with this solution, but since we must
go on and I can't think of a better way: signed off and pushed.


felix




reply via email to

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