website: documentation for fmt -check flag

This commit is contained in:
Kyle McCullough 2017-06-23 11:39:43 -05:00
parent ad896b65c9
commit c2d86ed60f
No known key found for this signature in database
GPG Key ID: 566C8499C5F2D678
1 changed files with 3 additions and 1 deletions

View File

@ -24,5 +24,7 @@ The command-line flags are all optional. The list of available flags are:
* `-list=true` - List files whose formatting differs (disabled if using STDIN)
* `-write=true` - Write result to source file instead of STDOUT (disabled if
using STDIN)
using STDIN or -check)
* `-diff=false` - Display diffs of formatting changes
* `-check=false` - Check if the input is formatted. Exit status will be 0 if
all input is properly formatted and non-zero otherwise.