OS Manuals

/usr/bin/ocamlcmt-4

The core OCaml 4 system: compilers, runtime system, base libraries

From ocaml-4 4.14.5-r0 (enterprise-packages), captured 2026-11-08 by running ocamlcmt-4 --help (exit 0). permalink

ocamlcmt [OPTIONS] FILE.cmt : read FILE.cmt and print related information
  -o <file>       Dump to file <file> (or stdout if -)
  -annot          Generate the corresponding .annot file
  -save-cmt-info  Encapsulate additional cmt information in annotations
  -src            Convert .cmt or .cmti back to source code (without comments)
  -info           : print information on the file
  -args <file>    Read additional newline separated command line arguments
      from <file>
  -args0 <file>   Read additional NUL separated command line arguments from
      <file>
  -I <dir>        Add <dir> to the list of include directories
  -help           Display this list of options
  --help          Display this list of options
Options (10)
OptionDescriptionSource
-o fileDump to file <file> (or stdout if -)help
-annotGenerate the corresponding .annot filehelp
-save-cmt-infoEncapsulate additional cmt information in annotationshelp
-srcConvert .cmt or .cmti back to source code (without comments)help
-info: print information on the filehelp
-args fileRead additional newline separated command line arguments from <file>help
-args0 fileRead additional NUL separated command line arguments from <file>help
-I dirAdd <dir> to the list of include directorieshelp
-helpDisplay this list of optionshelp
--helpDisplay this list of optionshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.