vfmt: improve the documentation for the -c flag (#7196)

pull/7212/head^2
Lukas Neubert 2020-12-09 09:58:37 +01:00 committed by GitHub
parent ae062b1146
commit a9c71a89cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ Usage:
Formats the given V source files, then prints their formatted source to stdout.
Options:
-c Check if file is already formatted.
If it is not, print filepath, and exit with code 2.
-c Check if a file is already formatted. If not, print the 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).
This will attempt to find a working `diff` command automatically unless you