Debian Codegraph @

test_cmd/fmt_no_args.golden.stderr

raw
1 ERROR: must give filename
2
3 Jsonnet reformatter v0.22.0
4
5 jsonnetfmt {<option>} { <filename> }
6
7 Available options:
8 -h / --help This message
9 -e / --exec Treat filename as code
10 -o / --output-file <file> Write to the output file rather than stdout
11 -i / --in-place Update the Jsonnet file(s) in place.
12 --test Exit with failure if reformatting changed the file(s).
13 -n / --indent <n> Number of spaces to indent by (default 2, 0 means no change)
14 --max-blank-lines <n> Max vertical spacing, 0 means no change (default 2)
15 --string-style <d|s|l> Enforce double, single (default) quotes or 'leave'
16 --comment-style <h|s|l> # (h), // (s)(default), or 'leave'; never changes she-bang
17 --[no-]pretty-field-names Use syntax sugar for fields and indexing (on by default)
18 --[no-]pad-arrays [ 1, 2, 3 ] instead of [1, 2, 3]
19 --[no-]pad-objects { x: 1, y: 2 } instead of {x: 1, y: 2} (on by default)
20 --[no-]sort-imports Sorting of imports (on by default)
21 --debug-desugaring Unparse the desugared AST without executing it
22 --version Print version
23
24 In all cases:
25 <filename> can be - (stdin)
26 Multichar options are expanded e.g. -abc becomes -a -b -c.
27 The -- option suppresses option processing for subsequent arguments.
28 Note that since filenames and jsonnet programs can begin with -, it is advised to
29 use -- if the argument is unknown, e.g. jsonnet -- "$FILENAME".