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

docs: add v shader section, add help text (#12594)

This commit is contained in:
Larpon
2021-11-28 16:17:04 +01:00
committed by GitHub
parent 969e0dce20
commit 5deb56fc79
3 changed files with 32 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ fn main() {
show_help: fp.bool('help', `h`, false, 'Show this help text.')
force_update: fp.bool('force-update', `u`, false, 'Force update of the sokol-shdc tool.')
verbose: fp.bool('verbose', `v`, false, 'Be verbose about the tools progress.')
slangs: fp.string_multi('slang', `l`, 'Shader dialects to generate code for. Default is all. Available: $supported_slangs')
slangs: fp.string_multi('slang', `l`, 'Shader dialects to generate code for. Default is all.\n Available dialects: $supported_slangs')
}
if opt.show_help {
println(fp.usage())