docs(cli): the show-form guard types 89 forms and 178 commands, not 83 and 166 #2517

Merged
jaylouisw merged 1 commit from docs/1124-0317 into main 2026-11-24 03:38:07 +00:00
Owner

What was untrue

docs/CLI.md, the section Every show form on this page is typed by a test, said the guard types 83 forms, 166 commands, with 112 answers being legitimate refusals.

Evidence

node test/docs-show-commands.test.js on this branch prints:

The documentation names 89 show forms
    (178 commands typed across a router and a switch)
    (114 refusals, all about the device rather than the syntax)

The six extra forms are the uppercase spellings #2513 added to the page (show ip ARP, show ip ROUTE, show ip interface BRIEF, show ip DHCP binding, show ipv6 ND, show mac ADDRESS-TABLE). The guard reads every show � code span in docs/CLI.md, so each of them is a form of its own and the totals moved 83/166/112 -> 89/178/114. The paragraph that records the reading was left behind, even though it ends by promising "All three numbers are printed by the guard on every run".

No engine change is needed: the console answers all 89 forms; only the recorded reading was stale.

Verification

  • node scripts/syntax-check.js - 562 files, all OK
  • docs-show-commands - 89 forms / 178 commands / 114 refusals, 7 passed
  • help-completeness - 16 show commands in the table, 8 passed
  • help-forms (no-form-help-key) - 81 passed
  • docs-cli-transcript - 9 passed
  • doc-catalog-counts - 43 passed
  • control bytes - none
## What was untrue `docs/CLI.md`, the section *Every `show` form on this page is typed by a test*, said the guard types **83 forms, 166 commands**, with **112** answers being legitimate refusals. ## Evidence `node test/docs-show-commands.test.js` on this branch prints: ``` The documentation names 89 show forms (178 commands typed across a router and a switch) (114 refusals, all about the device rather than the syntax) ``` The six extra forms are the uppercase spellings #2513 added to the page (`show ip ARP`, `show ip ROUTE`, `show ip interface BRIEF`, `show ip DHCP binding`, `show ipv6 ND`, `show mac ADDRESS-TABLE`). The guard reads every `show �` code span in `docs/CLI.md`, so each of them is a form of its own and the totals moved 83/166/112 -> 89/178/114. The paragraph that records the reading was left behind, even though it ends by promising "All three numbers are printed by the guard on every run". No engine change is needed: the console answers all 89 forms; only the recorded reading was stale. ## Verification - `node scripts/syntax-check.js` - 562 files, all OK - `docs-show-commands` - 89 forms / 178 commands / 114 refusals, 7 passed - `help-completeness` - 16 show commands in the table, 8 passed - `help-forms` (`no-form-help-key`) - 81 passed - `docs-cli-transcript` - 9 passed - `doc-catalog-counts` - 43 passed - control bytes - none
docs(cli): the show-form guard types 89 forms and 178 commands, not 83 and 166 (#2517)
All checks were successful
CI / Server smoke and Docker build (pull_request) Successful in 29s
CI / Typecheck (pull_request) Successful in 33s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 21s
CI / Test (Node 22) (pull_request) Successful in 1m3s
CI / Test (Node 24) (pull_request) Successful in 1m7s
CI / Arm auto-merge (pull_request) Successful in 4s
6b9f5a428d
forgejo-actions scheduled this pull request to auto merge when all checks succeed 2026-11-24 03:21:48 +00:00
jaylouisw deleted branch docs/1124-0317 2026-11-24 03:38:10 +00:00
Sign in to join this conversation.
No description provided.