diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-07-17 22:36:57 -0400 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2015-09-24 15:26:44 +0100 |
commit | f733280419f18b1a0e3b06ec3681781689d57053 (patch) | |
tree | 95e34d98165eac4245f5b51cb2727a6b57f88259 /lib/memory.c | |
parent | e675678789b11d175a08a9e0be73917aa8f23a15 (diff) | |
download | quagga-f733280419f18b1a0e3b06ec3681781689d57053.tar.bz2 quagga-f733280419f18b1a0e3b06ec3681781689d57053.tar.xz |
lib/command: Fix optional arguments with description interactions
If you have a cli like this:
"neighbor WORD interface {v6only}"
When in the cli you hit ? after entering v6only you get this:
tor-11(config-router)# neighbor swp1 interface v6only
% There is no matched command.
tor-11(config-router)# neighbor swp1 interface v6only
With this fix we now see:
tor-22(config-router)# neighbor swp1 interface v6only
<cr>
tor-22(config-router)# neighbor swp1 interface v6only
This behavior is now consistent with non-optional last
arguments.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/memory.c')
0 files changed, 0 insertions, 0 deletions