OS Manuals

/usr/bin/ocamllex

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

From ocaml 5.5.2-r0 (os), captured 2026-11-05 by running ocamllex --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 + man
-o output-fileSpecify the name of the output file produced by ocamllex(1).help + man
-qDo not display informational messageshelp + man
-vPrint version string and exit.help + man
-versionPrint version and exithelp
-vnumPrint short version number and exit.help + man
-helpDisplay a short usage summary and exit.help + man
--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.