From 7780aaaa7230eb077c3cd27a988b44fc102a23d7 Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Tue, 16 May 2017 18:57:20 +0000 Subject: [PATCH] lib: Remove the "This command currently does nothing" message Signed-off-by: Daniel Walton This breaks the "vtysh -m" output which causes problems for frr-reload.py --- lib/command.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/command.c b/lib/command.c index cc597952e4..f9566f8154 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1371,11 +1371,6 @@ DEFUN (frr_version_defaults, "set of configuration defaults used\n" "version string\n") { - if (vty->type == VTY_TERM || vty->type == VTY_SHELL) - /* only print this when the user tries to do run it */ - vty_out (vty, "%% NOTE: This command currently does nothing.%s" - "%% It is written to the configuration for future reference.%s", - VTY_NEWLINE, VTY_NEWLINE); return CMD_SUCCESS; } -- 2.39.5