vdoc: replace hardcoded `v` with `@VEXE`

pull/5228/head
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
1 changed files with 1 additions and 1 deletions

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{