dune-format-dune-file - Format dune files.
Contents
Arguments
FILE
Path to the dune file to parse.
Common Options
--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.
Description
duneformat-dune-file reads a dune file and outputs a formatted version. This is a low-level command,
meant to implement editor support for example. To reformat a dune project, see the "Automatic formatting"
section in the manual.
Exit Status
duneformat-dune-file exits with:
0 on success.
1 if an error happened.
130 if it was interrupted by a signal.
Name
dune-format-dune-file - Format dune files.
Options
--dune-version=VERSION (absent=3.17)
Which version of Dune language to use.
See Also
dune(1) Dune 3.17.2 DUNE-FORMAT-DUNE-FILE(1)
Synopsis
duneformat-dune-file [--dune-version=VERSION] [OPTION]… [FILE]
