[fpc-pascal] CLI argument parsers (was: Resource compilation)
Michael Van Canneyt
michael at freepascal.org
Mon Jan 14 15:04:29 CET 2019
On Mon, 14 Jan 2019, Bart wrote:
> On Mon, Jan 14, 2019 at 12:56 AM Martok <listbox at martoks-place.de> wrote:
>
>> I'm a fan of getopts and use it (with a small wrapper) for almost everything (i.
>> [2]), but it seems that many people are not aware it even exists. It's even
>> POSIX compliant, so the program's users won't be surprised by some
>> implementation particulars.
>
> GetOpts gets it wrong sometimes: see
> https://bugs.freepascal.org/view.php?id=19842
Hm. I must have missed this one.
I've assigned the bug to myself, will look at it ASAP.
I think getopts has changed since the bug was reported, but maybe the proposed fix is still valid.
Michael.
More information about the fpc-pascal
mailing list