mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
tools: remove cmd/tools/modules/vhelp/ & add print to v share (#17178)
This commit is contained in:
parent
02fc58d124
commit
2029d1830f
6 changed files with 12 additions and 54 deletions
|
@ -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{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue