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 143 forks source link

Command processing displays confusing messages when an error detected during parsing #64

Closed RobSanders closed 3 years ago

RobSanders commented 3 years ago

If I have a command with multiple 'levels' ( for example, from clitest 'show regular') that I typo I get this:

router> show reguaaa
Invalid command "show"

It should show the command up to and including the word with an error.
This has been be fixed in the 1.10.5 devel branch

RobSanders commented 3 years ago

Fixed in 1_10_5