v/cmd/v/help/vet.txt

22 lines
566 B
Plaintext

Usage:
v vet [options] path_to_source.v [path_to_other_source.v]
v vet [options] path/to/dir [path/to/other_dir]
Reports suspicious code constructs.
Options:
-W
Exit with code 1, even if vet only reported warnings. Useful for checks in CI.
-w, -hide-warnings
Do not print warnings to stderr.
-v, -verbose
Enable verbose logging.
-p
Report private functions with missing documentation too (by default, only the `pub fn` functions will be reported).
-force
(NB: vet development only!) Do not skip the vet regression tests.