vfmt: improve the documentation for the -c flag (#7196)
parent
ae062b1146
commit
a9c71a89cf
|
@ -4,8 +4,8 @@ Usage:
|
||||||
Formats the given V source files, then prints their formatted source to stdout.
|
Formats the given V source files, then prints their formatted source to stdout.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-c Check if file is already formatted.
|
-c Check if a file is already formatted. If not, print the filepath and exit with code 2.
|
||||||
If it is not, print filepath, and exit with code 2.
|
Compared to -verify it is quicker but has a small trade-off in precision.
|
||||||
|
|
||||||
-diff Display the differences between the formatted source(s) and the original source(s).
|
-diff Display the differences between the formatted source(s) and the original source(s).
|
||||||
This will attempt to find a working `diff` command automatically unless you
|
This will attempt to find a working `diff` command automatically unless you
|
||||||
|
|
Loading…
Reference in New Issue