docs(CLI): the no table is 33 branches, 16 in config mode - not 32 and 15 #1931

Merged
jaylouisw merged 1 commit from docs/1118-0316 into main 2026-11-18 03:20:15 +00:00
Owner

docs/CLI.md said NO_FORMS in engine/cli.js holds 32 branches - 15 in config mode, 9 at an interface, 8 in a DHCP pool.

The table holds 33: 16 config branches, 9 interface, 8 dhcp-pool. The sixteenth config branch is no ip routing, added in #1869 (ip routing: a Catalyst does not route until told to) - the entry landed in the table and the count in the prose did not move with it.

Evidence, typed at a generic switch in config mode:

sw1(config)#no ip routing ?
% "?" is the help key, not a value: `no ip routing` stops this box forwarding between networks - nothing was disabled

That refusal only exists because the branch does. Counting the modes: entries in the table gives config 16, iface 9, dhcp-pool 8 = 33; 15 + 9 + 8 = 32 was the pre-#1869 arithmetic.

No guard watches this number - test/no-form-help-key.test.js types the branches (81 checks, green both before and after), it does not count them - which is why it drifted silently. Docs-only change; no code touched.

`docs/CLI.md` said `NO_FORMS` in `engine/cli.js` holds **32 branches - 15 in config mode, 9 at an interface, 8 in a DHCP pool**. The table holds **33**: 16 config branches, 9 interface, 8 dhcp-pool. The sixteenth config branch is `no ip routing`, added in #1869 (`ip routing: a Catalyst does not route until told to`) - the entry landed in the table and the count in the prose did not move with it. Evidence, typed at a generic switch in config mode: ``` sw1(config)#no ip routing ? % "?" is the help key, not a value: `no ip routing` stops this box forwarding between networks - nothing was disabled ``` That refusal only exists because the branch does. Counting the `modes:` entries in the table gives `config 16, iface 9, dhcp-pool 8` = 33; `15 + 9 + 8 = 32` was the pre-#1869 arithmetic. No guard watches this number - `test/no-form-help-key.test.js` types the branches (81 checks, green both before and after), it does not count them - which is why it drifted silently. Docs-only change; no code touched.
docs(CLI): the no table is 33 branches, 16 in config mode - not 32 and 15
All checks were successful
CI / Classify the change (pull_request) Successful in 5s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 3s
CI / Server smoke test (pull_request) Has been skipped
CI / Docker build (pull_request) Has been skipped
CI / Test (Node 20) (pull_request) Successful in 54s
CI / Test (Node 18) (pull_request) Successful in 59s
CI / Test (Node 22) (pull_request) Successful in 57s
CI / Arm auto-merge (pull_request) Successful in 11s
3f73e3d073
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaylouisw/packetforge!1931
No description provided.