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:
@ -534,7 +534,7 @@ fn (cfg DocConfig) get_resource(name string, minify bool) string {
|
|||||||
fn main() {
|
fn main() {
|
||||||
args := os.args[2..]
|
args := os.args[2..]
|
||||||
if args.len == 0 || args[0] == 'help' {
|
if args.len == 0 || args[0] == 'help' {
|
||||||
os.system('v help doc')
|
os.system('${@VEXE} help doc')
|
||||||
exit(0)
|
exit(0)
|
||||||
}
|
}
|
||||||
mut cfg := DocConfig{
|
mut cfg := DocConfig{
|
||||||
|
Reference in New Issue
Block a user