CLI.md: the show-form guard paragraph was a form and two refusals behind, and quoted the wrong command's refusal #1533
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!1533
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1115-1945"
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?
One item: the paragraph in
docs/CLI.mdthat describes whattest/docs-show-commands.test.jsdoes.What was untrue
46 forms, 92 commandsandFifty-six of the ninety-two answers are refusals. The guard prints its own census on every run; today it says47 forms,94 commands typed, and(58 refusals, all about the device rather than the syntax). The page gained ashowrow after #1480 wrote the numbers down and the paragraph never moved.show ip ospfwith the DHCP sentence (% This device is not a DHCP server (no "ip dhcp pool" configured)). Typed at a switch,show ip ospfanswers% OSPF is not enabled (use "ospf router-id <ip>" in config mode)- so the quoted line belonged to a different command and could not be reproduced from the transcript described.Evidence from the engine (
engine/cli.js, viaCliSessionon thegeneric-switchandgeneric-routercatalogue entries):A router without
ospf router-idanswers the same way, so "a switch has no show ip ospf" was narrower than the code; the text now says "a box with no OSPF configured".Checked reproducible before editing: the
show spanning-treesfailure transcript further down still yields% Invalid show command: spanning-treeson both devices.Guards (all green before and after; the counts in the prose are not asserted by any guard, which is how they went stale):
node scripts/syntax-check.js- 321 files OKshow)node scripts/check-control-bytes.js- no control bytesDocs-only; no engine change, nothing pushed to
main.