[m-rev.] diff: Fix value of maybe_string option when negated.

Julien Fischer jfischer at opturion.com
Tue Nov 8 16:26:05 AEDT 2022


Hi Peter,

On Tue, 8 Nov 2022, Peter Wang wrote:

> library/getopt.m:
> library/getopt_io.m:
>    Fix bug where a negation option (--no-foo) would set the value of a
>    maybe_string option to maybe_int(no) instead of maybe_string(no)
>    in the option table.

It looks like this will need to go on to the release branch as well.
It would be good to have a regression test for this one as well.

Julien.


More information about the reviews mailing list