mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vdoc: help
This commit is contained in:
@@ -629,7 +629,7 @@ fn (cfg DocConfig) get_resource(name string, minify bool) string {
|
||||
|
||||
fn main() {
|
||||
args := os.args[2..]
|
||||
if args.len == 0 || args[0] == 'help' {
|
||||
if args.len == 0 || args[0] in ['help', '-h', '--help'] {
|
||||
os.system('${@VEXE} help doc')
|
||||
exit(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user