mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cmd: simplify internal.help => help
This commit is contained in:
parent
8fd69e845f
commit
4794c6a0e7
@ -18,7 +18,7 @@ pub fn print_and_exit(topic string) {
|
||||
println(unknown_topic)
|
||||
exit(1)
|
||||
}
|
||||
target_topic := os.join_path(vroot, 'cmd', 'v', 'internal', 'help', '${topic}.txt')
|
||||
target_topic := os.join_path(vroot, 'cmd', 'v', 'help', '${topic}.txt')
|
||||
content := os.read_file(target_topic) or {
|
||||
println(unknown_topic)
|
||||
exit(1)
|
Loading…
Reference in New Issue
Block a user