Two show refusals point at answers that do not exist: the rejected word is offered back as a port, and the route refusal names a table it never printed #2146
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#2146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Two refusals end by pointing at something that is not there. Both are in
_show(), both are the sentence after the dash.1.
show ip interface brief <word>offers the rejected word back as a port.The refusal is right; the advice is a second wrong answer, and it is built from the words it just rejected (
engine/cli.js,'use ``show interfaces ``' + want + '`` for one port'). The narrower question really does have an answer -show interfaces <port>- so the pointer should only name a port when the typed words name one the box has, and otherwise keep the<port>placeholder thatshow mac address-table interface <port>already uses.2.
show ip route <prefix>points at a table it did not print.The refusal is one line (that is the point of #1403) and no table follows it, so "read the row ... in the table below" sends the operator looking past the answer for output that was never printed. It should name the command that prints the table.
docs/CLI.mdquotes the second message, so the doc moves with it.showrefusal names a command this box can run, and no table it did not print (#2146) #2147