1dune-format-dune-file(1) Dune Manual dune-format-dune-file(1)
2
3
4
6 dune-format-dune-file - Format dune files
7
9 dune format-dune-file [OPTION]... [FILE]
10
12 dune format-dune-file reads a dune file and outputs a formatted
13 version. This is a low-level command, meant to implement editor support
14 for example. To reformat a dune project, see the "Automatic formatting"
15 section in the manual.
16
18 FILE
19 Path to the dune file to parse.
20
22 --help[=FMT] (default=auto)
23 Show this help in format FMT. The value FMT must be one of `auto',
24 `pager', `groff' or `plain'. With `auto', the format is `pager` or
25 `plain' whenever the TERM env var is `dumb' or undefined.
26
27 --version
28 Show version information.
29
30
31
32Dune 11VERSION11 dune-format-dune-file(1)