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.10)
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       1   if an error happened.
40
41       130 if it was interrupted by a signal.
42

SEE ALSO

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