diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-29 04:43:04 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-29 04:43:04 +0000 |
| commit | ebacb4edce50ef418e46b090288223adea89b2d0 (patch) | |
| tree | 189aec495e8ed108e55a73e617ca9663d8d89cfd /lib/vty.c | |
| parent | bec37ba594856e0fac7fd20baa08d50d0e3fe86a (diff) | |
lib: Various minor improvements & bugfixes to CLI backend
- Do not allow tab-completion on anything except words
- Rewrite cmd_make_strvec to use strsep
- Remove a few trailing whitespaces
- Remove cmd_complete_command_lib
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/vty.c')
| -rw-r--r-- | lib/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -923,7 +923,7 @@ vty_complete_command (struct vty *vty) if (isspace ((int) vty->buf[vty->length - 1])) vector_set (vline, NULL); - matched = cmd_complete_command_lib (vline, vty, &ret, 1); + matched = cmd_complete_command (vline, vty, &ret); cmd_free_strvec (vline); |
