1
0
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:
yuyi 2020-05-04 20:21:32 +08:00 committed by GitHub
parent 8fd69e845f
commit 4794c6a0e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -3,7 +3,7 @@
// that can be found in the LICENSE file.
module main
import internal.help
import help
import os
import os.cmdline
import v.table