mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: fix early exit when verifying multiple files; update help (#7611)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
Usage:
|
||||
v fmt [options] path_to_source.v [path_to_other_source.v]
|
||||
v fmt [options] path/to/dir [path/to/other_dir]
|
||||
|
||||
Formats the given V source files, then prints their formatted source to stdout.
|
||||
Formats the given V source files or recursively formats all files in the directory,
|
||||
then prints their formatted source to stdout.
|
||||
|
||||
Options:
|
||||
-c Check if a file is already formatted. If not, print the filepath and exit with code 2.
|
||||
|
||||
Reference in New Issue
Block a user