-
Notifications
You must be signed in to change notification settings - Fork 5
/
yamlfmt.1
38 lines (38 loc) · 809 Bytes
/
yamlfmt.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.\" Automatically generated by Pandoc 2.2.1
.\"
.TH "YAMLFMT" "1" "March 2019" "" ""
.hy
.SH NAME
.PP
yamlfmt \[en] format YAML
.SH SYNOPSIS
.PP
\f[B]yamlfmt\f[] [\f[B]\-strict\f[]] [\f[B]\-indent INDENT\f[]]
[FILE\&...]
.SH DESCRIPTION
.PP
\f[B]yamlfmt\f[] formats YAML.
If no files are given it will read from standard input, otherwise for
each file on the command line it will print formatted YAML to standard
output.
.PP
Multiple YAML documents in a single input/file are supported, they are
separated with the default separator and an empty line.
.SH OPTIONS
.TP
.B \f[B]\[en]help\f[]
show a short help.
.RS
.RE
.TP
.B \f[B]\-strict\f[]
return an error on invalid YAML.
.RS
.RE
.TP
.B \f[B]\-indent INDENT\f[]
use \f[B]INDENT\f[] as the indentation value, defaults to 2.
.RS
.RE
.SH AUTHORS
Miek Gieben.