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:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user