Skip to content

Upgrade to cmdliner 2.x#25

Merged
NathanReb merged 1 commit intoOCamlPro:masterfrom
NathanReb:update-cmdliner
Apr 3, 2026
Merged

Upgrade to cmdliner 2.x#25
NathanReb merged 1 commit intoOCamlPro:masterfrom
NathanReb:update-cmdliner

Conversation

@NathanReb
Copy link
Copy Markdown
Contributor

Fixes #22!

I'm not super familiar with ez_cmdliner yet but it seems the API is quite controlled so I don't think there's a risk of Cmdliner types leaking and causing breakage for ez_cmdliner users which should make this quite transparent of a change.

@NathanReb
Copy link
Copy Markdown
Contributor Author

Turns out it's not entirely true, the entire Cmdliner.Manpage module leaks through V2.MANPAGE.

There are only minimal changes there which could be considered non-breaking. I'd say the most controversial change is the addition of a new env optional argument to the print function.

I'm happy to try and make the MANPAGE api remain stable through this upgrade if you feel like this is necessary.

Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
@NathanReb NathanReb merged commit 3295fc9 into OCamlPro:master Apr 3, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cmdliner 2.0.0 support

1 participant