Repository navigation
docs(usage): remove nonexistent --set, list deprecated trap flag, name link Web converter - #16206
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
gabichuuuuu
left a comment
There was a problem hiding this comment.
Docs check of head ae423926a1 against main 0bae53facd: I compared what the entry says about the code with the code, and checked the links and counts. I can't check the console measurements themselves.
--set: nothing incore/relinker/cliparses it, so removing the reference is right.--trap-sdk-syscall-stubs:CliArgs.cpplists it underDeprecated:in the help, so adding it to the deprecated list is right. The table cell now says "For debugging only." twice, at the start and at the end.- Web converter: that's the name the README uses.
ae42392 to
6284fdb
Compare
adriadam10
left a comment
There was a problem hiding this comment.
The --set, deprecated-list and "Web converter" changes check out against CliArgs.cpp and README.md. One problem in the --trap-sdk-syscall-stubs row of docs/user/USAGE.md (line 98):
- Commit
e288436e8bis described as starting the row with "Deprecated.", but it also deletes the sentence "except anint 0x80; retbetween theint 0x7f; retandint 0x81; retentries of a software interrupt table, which is replaced withUD2even without this option" (added by #10479). That behaviour is still in the code (SyscallScanner.cpp:141and:506, covered bytest_syscall_number.py), so the row now says something false. Please restore the sentence. - The row now contains "For debugging only." twice, at the start and at the end. Keep one.
The patch-file `name` row says the name is "used by a later `--set` option". No such option exists: CliArgs.cpp:218 rejects any unrecognized option with "unknown option", and `git grep -e '--set' -- core tools` finds no match. The name is only displayed, as the progress line (GamePatch.cpp:366), the manifest (GamePatch.cpp:552) and the verify report (main.cpp:254), which the row already lists.
The deprecated-flags paragraph names four flags and omits --trap-sdk-syscall-stubs. The help text lists it under "Deprecated:" (core/relinker/cli/src/CliArgs.cpp:54-58), so the paragraph now names it too.
The table row describes the flag only as "For debugging only", while the help text marks it "Deprecated:" (core/relinker/cli/src/CliArgs.cpp:54-58). The row now starts with "Deprecated." like the other deprecated rows.
USAGE.md:3 calls https://boykopovar.github.io/AnyPS5/ "Online relinker", while README.md:9 and docs/dev/BUILD.md use "Web converter" for the same URL. The link is now named the same way as in the README.
f587454 to
261be8e
Compare
|
Checked the interdiff: the |
What
Corrections to
docs/user/USAGE.md, one commit per statement:4984400807removes the patch-filenamerow's reference to a--setoption. No such option exists:core/relinker/cli/src/CliArgs.cpp:218rejects unrecognized options with "unknown option", andgit grep -e '--set' -- core toolsfinds no match. The name is shown in the progress line (core/relinker/relinker/src/patching/GamePatch.cpp:366), the manifest (GamePatch.cpp:552) and the verify report (core/relinker/main.cpp:254), as the row already says.d5f73c7e2fadds--trap-sdk-syscall-stubsto the list of deprecated flags, matching the help text, which lists it under "Deprecated:" (core/relinker/cli/src/CliArgs.cpp:54-58).43b82cc8e4starts the--trap-sdk-syscall-stubstable row with "Deprecated.", as the other deprecated rows do.ae423926a1names the link to https://boykopovar.github.io/AnyPS5/ "Web converter", asREADME.mddoes for the same URL.Tested
python3 tools/check_conventions.py --base upstream/main: all checks passed.git diff --check upstream/main: clean.git grepfor--setincoreandtools(no match) and read the cited code lines to confirm each claim.tools/pr_precheck.py(no-build): diff check, conventions and test-quality heuristics passed; the build-dependent items are reported as not run, which is expected for a docs-only change.tools/pr_overlap.py --branch docs-usage-flags-and-naming: it did not finish within the time limit. Manual check instead: the open PRs that touchdocs/user/USAGE.md(docs(usage): point ANYPS5_SYSTEM_FONTS at an installed Noto package #14987, docs(usage): say how a first run waits for a very large compute pipeline #15344, docs: note that loaders up to 1.4.365 ignore VK_LOADER_DRIVERS_DISABLE when elevated #14070) do not change the lines edited here.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)