Ocamlformat documentation / set line width?

I have checked ocamlformat 0.25.1 (latest) · OCaml Package and ocamlformat --help (which seems same as man ocamlformat).

How do I find the valid options to put in proj/.ocamlformat ? In particular, I am looking to change the default line width (I prefer 120).

Thanks!

Its --margin
You would put margin=120 in .ocamlformat

2 Likes