1DUNE-FORMAT-DUNE-FILE(1)          Dune Manual         DUNE-FORMAT-DUNE-FILE(1)
2
3
4

NAME

6       dune-format-dune-file - Format dune files
7

SYNOPSIS

9       dune format-dune-file [--dune-version=VERSION] [OPTION]… [FILE]
10

DESCRIPTION

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

ARGUMENTS

18       FILE
19           Path to the dune file to parse.
20

OPTIONS

22       --dune-version=VERSION (absent=3.6)
23           Which version of Dune language to use.
24

COMMON OPTIONS

26       --help[=FMT] (default=auto)
27           Show this help in format FMT. The value FMT must be one of auto,
28           pager, groff or plain. With auto, the format is pager or plain
29           whenever the TERM env var is dumb or undefined.
30
31       --version
32           Show version information.
33

EXIT STATUS

35       format-dune-file exits with the following status:
36
37       0   on success.
38
39       123 on indiscriminate errors reported on standard error.
40
41       124 on command line parsing errors.
42
43       125 on unexpected internal errors (bugs).
44

SEE ALSO

46       dune(1)
47
48
49
50Dune n/a                                              DUNE-FORMAT-DUNE-FILE(1)
Impressum