From 1f1432364911625d5abd6384b190a2d75c37120f Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 15 Jun 2018 12:34:31 -0400 Subject: vtysh: Fix 'no log syslog ..' to be correct The vtysh version of `no log syslog...` was out of sync with what is actually correct. Fix. Signed-off-by: Donald Sharp --- vtysh/vtysh.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vtysh/vtysh.c') diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 309493b13..0c3d84f38 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2415,10 +2415,11 @@ DEFUNSH(VTYSH_ALL, vtysh_log_syslog, vtysh_log_syslog_cmd, } DEFUNSH(VTYSH_ALL, no_vtysh_log_syslog, no_vtysh_log_syslog_cmd, - "no log syslog [LEVEL]", NO_STR + "no log syslog []", + NO_STR "Logging control\n" "Cancel logging to syslog\n" - "Logging level\n") + LOG_LEVEL_DESC) { return CMD_SUCCESS; } -- cgit v1.2.3