OS Manuals

/usr/bin/ocamllex.opt

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

From ocaml 5.5.2-r0 (os), captured 2026-11-05 by running ocamllex.opt --help (exit 0). permalink

Usage: ocamllex [options] sourcefile
Options are:
  -ml  Output code that does not use the Lexing module built-in automata interpreter
  -o  <file>  Set output file name to <file>
  -q  Do not display informational messages
  -v  Print version and exit
  -version  Print version and exit
  -vnum  Print version number and exit
  -help  Display this list of options
  --help  Display this list of options
Options (8)
OptionDescriptionSource
-mlOutput code that does not use the Lexing module built-in automata interpreterhelp
-o<file> Set output file name to <file>help
-qDo not display informational messageshelp
-vPrint version and exithelp
-versionPrint version and exithelp
-vnumPrint version number and exithelp
-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.