-absname | Show absolute filenames in error messages. | help + man |
-no-absname | Do not try to show absolute filenames in error messages (default). | help + man |
-all | Generate dependencies on all required files, rather than assuming implicit dependencies. | help + man |
-allow-approx | Allow falling back on a lexer-based approximation when parsing fails. | help + man |
-as-map | For the following files, do not include delayed dependencies for module aliases. | help + man |
-debug-map | Dump the delayed dependency map for each map file. | help + man |
-I dir | Add the given directory to the list of directories searched for source files. | help + man |
-H dir | Add <dir> to the list of include directories | help |
-nocwd | Do not add current working directory to the list of include directories. | help + man |
-impl f | Process file as a .ml file. | help + man |
-intf f | Process file as a .mli file. | help + man |
-keywords version+list | set keywords following the <version+list> spec (see ocamlc) | help + man |
-map f | Read an propagate the delayed dependencies for module aliases in file, so that the following files will depend on the exported aliased modules if they use them. | help + man |
-ml-synonym e | Consider the given extension (with leading dot) to be a synonym for .ml. | help + man |
-mli-synonym e | Consider the given extension (with leading dot) to be a synonym for .mli. | help + man |
-modules | Output raw dependencies of the form filename: Module1 Module2 ... | help + man |
-native | Generate dependencies for a pure native-code program (no bytecode version). | help + man |
-bytecode | Generate dependencies for bytecode-code only (no .cmx files) | help |
-one-line | Output one line per file, regardless of the length. | help + man |
-open module | Assume that module module is opened before parsing each of the following files. | help + man |
-plugin plugin | (no longer supported) | help |
-pp cmd | Cause ocamldep(1) to call the given command as a preprocessor for each source file. | help + man |
-ppx cmd | Pipe abstract syntax tree through preprocessor command. | help + man |
-shared | Generate dependencies for native plugin files (.cmxs) in addition to native compiled files (.cmx). | help + man |
-slash | (Windows) Use forward slash / instead of backslash \ in file paths | help + man |
-no-slash | (Windows) Preserve any backslash \ in file paths | help + man |
-sort | Sort files according to their dependencies. | help + man |
-version | Print version string and exit. | help + man |
-vnum | Print short version number and exit. | help + man |
-help | Display a short usage summary and exit. | help + man |
--help | Display this list of options | help |
-args file | Read additional newline separated command line arguments from file. (in the manual page but not in --help) | man |
-args0 file | Read additional NUL separated command line arguments from file. (in the manual page but not in --help) | man |