1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vfmt: comments and other fixes

This commit is contained in:
Alexander Medvednikov
2020-04-05 02:08:10 +02:00
parent 45fdbc4df7
commit 97db4c0e9a
8 changed files with 196 additions and 96 deletions

View File

@ -54,7 +54,7 @@ fn main() {
is_2: '-2' in args
is_c: '-c' in args
is_l: '-l' in args
is_w: '-w' in args
is_w: '-ww' in args
is_diff: '-diff' in args
is_verbose: '-verbose' in args || '--verbose' in args
is_all: '-all' in args || '--all' in args
@ -153,6 +153,7 @@ fn main() {
}
exit(1)
}
println('vfmt done')
}
fn (foptions &FormatOptions) format_file(file string) {