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

tools: remove cmd/tools/modules/vhelp/ & add print to v share (#17178)

This commit is contained in:
Christopher Fore
2023-02-01 04:18:23 -05:00
committed by GitHub
parent 02fc58d124
commit 2029d1830f
6 changed files with 12 additions and 54 deletions

View File

@@ -13,7 +13,7 @@ import v.fmt
import v.util
import v.util.diff
import v.parser
import vhelp
import v.help
struct FormatOptions {
is_l bool
@@ -88,7 +88,7 @@ fn main() {
exit(0)
}
if files.len == 0 || '-help' in args || '--help' in args {
vhelp.show_topic('fmt')
help.print_and_exit('fmt')
exit(0)
}
mut cli_args_no_files := []string{}