dparrish / libcli

Libcli provides a shared library for including a Cisco-like command-line interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.
https://dparrish.com/link/libcli
GNU Lesser General Public License v2.1
289 stars 144 forks source link

invalid command message not extremely appropriate #38

Closed FransM closed 3 years ago

FransM commented 5 years ago

Example with clitest

router> show something Invalid command "show"

Actually the invalid command is not "show", it is the "something" part that causes the problem. Better error message would be: Invalid command "show something" or maybe Invalid command "something"

RobSanders commented 3 years ago

At least partially fixed now in ticket #64