tools: support a -fix option in v check-md file.v to make usage easier on Windows. Add an usage hint on formatting errors.

This commit is contained in:
Delyan Angelov 2024-08-13 18:05:08 +03:00
parent f52a62b2c6
commit e862aa004d
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
2 changed files with 69 additions and 58 deletions

View file

@ -146,7 +146,7 @@ Ensure that all .md files in the project are formatted properly,
and that the V code block examples in them can be compiled/formatted too.
Note: if that command finds formatting errors, they can be fixed with:
`VAUTOFIX=1 ./v check-md -hide-warnings file.md`
`VAUTOFIX=1 ./v check-md file.md` or with `v check-md -fix file.md`.
## `v test-self`