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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 54 deletions

View file

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