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

vdoc: replace hardcoded v with @VEXE

This commit is contained in:
sudo-nice 2020-06-05 16:57:16 +03:00 committed by GitHub
parent 3478430762
commit ec984bcc0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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