OPAM-HELP(1) Opam Manual OPAM-HELP(1)

opam-help - Display help about opam and opam commands.

opam help [--man-format=FMT] [OPTION]… [TOPIC]

Prints help about opam commands.

Use `opam help topics' to get the full list of help topics.

The topic to get help on.

--man-format=FMT (absent=pager)
Show output in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.

--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
--version
Show version information.

opam help exits with:

0
on success.
123
on indiscriminate errors reported on standard error.
124
on command line parsing errors.
125
on unexpected internal errors (bugs).

opam(1)

Opam 2.2.1