Skip to content

Chore: Update help messages #3113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->
* `CHG` When analyzing the literal table, only the first 100 items are analyzed at most.
* `CHG` When checking type matching for union types, only the first 100 items are checked at most.
* `CHG` when analyzing the literal table, only the first 100 items are analyzed at most
* `CHG` when checking type matching for union types, only the first 100 items are checked at most
* `FIX` Update `--help` message.
* `FIX` --check now respects ignoreDir setting
* `FIX` incorrect argument skip pattern for `--check_out_path=`, which incorrectly skips the next argument

Expand Down
11 changes: 10 additions & 1 deletion script/cli/help.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,27 @@ local args = {
type = 'string',
description = [[
Generate documentation from a workspace.
The files will be output in your log path.
The files will be written to the documentation output path passed
in --doc_out_path.
]],
example = [[--doc=C:/Users/Me/Documents/myLuaProject/]]
},
['--doc_out_path'] = {
type = 'string',
description = [[
The path to output generated documentation at.
If --doc_out_path is missing, the documentation will be written
to the current directory.
See --doc for more info.
]],
example = [[--doc_out_path=C:/Users/Me/Documents/myLuaProjectDocumentation]]
},
['--doc_update'] = {
type = 'string',
description = [[
Update existing documentation files at the given path.
]]
},
['--logpath'] = {
type = 'string',
description = [[
Expand Down