docs(CLI): the help-key suite is ten checks, not the nine the page quotes #1793
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!1793
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1117-0515"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What was untrue
docs/CLI.md(the?/exitsection, under Anothat names one thing must not remove anothers predecessor) said:Evidence from the code
node test/help-key-works-in-every-prompt.test.jsreportstests 10 / pass 10 / fail 0. The ten are:?answers with the index at user EXEC?answers with the index at privileged EXEC?answers with the index at config?answers with the index at interface?answers with the index at dhcp pool?aftershowanswers with the views, not with an invalid commandThe count went stale in #1679, which added check 10 while this sentence kept the nine that #1504 shipped. The paragraph directly above the sentence is about the
show ?listing, so the check it added was the one left uncounted.The fix
Count corrected to ten, the
show ?check named, and the historical4 passed / 5 failedscoped to the nine it was measured on (that measurement predates check 10, so it cannot be restated for ten).Guards (before / after: identical, prose-only change)
node scripts/syntax-check.js� 375 files, all OKtest/docs-cli-transcript.test.js) � 4 passedtest/docs-show-commands.test.js) � 7 passedtest/no-form-help-key.test.js) � 81 passedtest/help-completeness.test.js) � 8 passedNo transcript touched.