A stale useUiScale comment, and a usage line for doc-links.py (#376)
Two small fixes. - `OptionsFrame.xml`: the comment on the missing Use UI Scale checkbox said benilla has no `useUiScale`. It is registered at "0" and never read, which is why the UI scale always applies. - `scripts/doc-links.py`: `--help` and `-h` print the usage in the module doc instead of running the full `cargo doc` pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
co-authored by
Claude Opus 5.5
parent
e739c8237b
commit
bbdc23b8fc
@@ -55,6 +55,9 @@ def declared_names() -> set[str]:
|
||||
|
||||
|
||||
def main() -> int:
|
||||
if any(a in ("-h", "--help") for a in sys.argv[1:]):
|
||||
print(__doc__.strip())
|
||||
return 0
|
||||
report = "--report" in sys.argv
|
||||
text = run_rustdoc()
|
||||
found = re.findall(r"warning: unresolved link to `([^`]+)`\n\s*--> ([^\s:]+):(\d+)", text)
|
||||
|
||||
Reference in New Issue
Block a user