mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: support v missdoc .
instead of v run cmd/tools/missdoc.v .
This commit is contained in:
parent
c0b37409d2
commit
63d413f93c
@ -5,8 +5,8 @@ import os
|
||||
import flag
|
||||
|
||||
const (
|
||||
tool_name = os.file_name(os.executable())
|
||||
tool_version = '0.0.3'
|
||||
tool_name = 'v missdoc'
|
||||
tool_version = '0.0.4'
|
||||
tool_description = 'Prints all V functions in .v files under PATH/, that do not yet have documentation comments.'
|
||||
work_dir_prefix = normalise_path(os.real_path(os.wd_at_startup) + '/')
|
||||
)
|
16
cmd/v/help/missdoc.txt
Normal file
16
cmd/v/help/missdoc.txt
Normal file
@ -0,0 +1,16 @@
|
||||
v missdoc 0.0.4
|
||||
-----------------------------------------------
|
||||
Usage: v missdoc [options] PATH [PATH]...
|
||||
|
||||
Description: Prints all V functions in .v files under PATH/, that do not yet have documentation comments.
|
||||
|
||||
Options:
|
||||
-h, --help Show this help text.
|
||||
-t, --tags Also print function tags if any is found.
|
||||
-d, --deprecated Include deprecated functions in output.
|
||||
-p, --private Include private functions in output.
|
||||
--js Include JavaScript functions in output.
|
||||
-n, --no-line-numbers Exclude line numbers in output.
|
||||
-e, --exclude <multiple strings>
|
||||
|
||||
-r, --relative-paths Use relative paths in output.
|
Loading…
Reference in New Issue
Block a user