diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-07-22 11:59:25 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-07-22 12:00:58 -0400 |
| commit | d1b287e1725afffd206cb773e6edcb9ec87603dc (patch) | |
| tree | cffebfb9361447b92412d67878a4bf94dd96065e /tests/topotests/ospf_dual_stack/test_ospf_dual_stack.py | |
| parent | 6afa0b137a00ffc68a8711ab754c6bbb6d19915d (diff) | |
vtysh: Handle `en` better when in -u for vtysh
vtysh was unable to distinguish between end and ena. The
code can now do so:
sharpd@eva ~/frr5 (master)> sudo vtysh/vtysh -u sharpd
Hello, this is FRRouting (version 8.1-dev).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
eva> e
% Ambiguous command: e
eva> en
% Command not allowed: enable
eva> ena
% Command not allowed: enable
eva> enab
% Command not allowed: enable
eva> enabl
% Command not allowed: enable
eva> enable
% Command not allowed: enable
eva> enb
% Unknown command: enb
eva> enc
% Unknown command: enc
eva> end
% Unknown command: end
eva> ene
% Unknown command: ene
eva> quit
Fixes: #2296
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/ospf_dual_stack/test_ospf_dual_stack.py')
0 files changed, 0 insertions, 0 deletions
