From a9c71a89cf35b38c731b29af93e1b411e1e7d82a Mon Sep 17 00:00:00 2001 From: Lukas Neubert Date: Wed, 9 Dec 2020 09:58:37 +0100 Subject: [PATCH] vfmt: improve the documentation for the -c flag (#7196) --- cmd/v/help/fmt.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/v/help/fmt.txt b/cmd/v/help/fmt.txt index b84ab37bb4..b79b80d40c 100644 --- a/cmd/v/help/fmt.txt +++ b/cmd/v/help/fmt.txt @@ -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