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

pkgconfig,flag: add tests to pkgconfig, fix bugs and links, improve flag.usage()

This commit is contained in:
Delyan Angelov
2021-01-16 11:57:34 +02:00
parent 53941c4a0a
commit 1a8a1ceb0a
20 changed files with 366 additions and 91 deletions

View File

@@ -402,7 +402,7 @@ pub fn (fs FlagParser) usage() string {
use += '$option_names$xspace$f.usage\n'
}
}
return use
return use.replace('- ,', ' ')
}
// finalize argument parsing -> call after all arguments are defined