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
|
@ -7,7 +7,7 @@ import os
|
|||
import os.cmdline
|
||||
import rand
|
||||
import term
|
||||
import vhelp
|
||||
import v.help
|
||||
import regex
|
||||
|
||||
const (
|
||||
|
@ -43,7 +43,7 @@ fn (v1 CheckResult) + (v2 CheckResult) CheckResult {
|
|||
|
||||
fn main() {
|
||||
if non_option_args.len == 0 || '-help' in os.args {
|
||||
vhelp.show_topic('check-md')
|
||||
help.print_and_exit('check-md')
|
||||
exit(0)
|
||||
}
|
||||
if '-all' in os.args {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue