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

vdoc: help

This commit is contained in:
Daniel Däschle
2020-06-06 17:41:44 +02:00
committed by GitHub
parent fb6be080fb
commit 32463e94f5
2 changed files with 11 additions and 11 deletions

View File

@@ -629,7 +629,7 @@ fn (cfg DocConfig) get_resource(name string, minify bool) string {
fn main() {
args := os.args[2..]
if args.len == 0 || args[0] == 'help' {
if args.len == 0 || args[0] in ['help', '-h', '--help'] {
os.system('${@VEXE} help doc')
exit(0)
}