]> git.puffer.fish Git - matthieu/frr.git/commitdiff
[lib/vty] Add 'no terminal monitor' alias
authorpaul <paul>
Tue, 17 Jan 2006 17:42:03 +0000 (17:42 +0000)
committerpaul <paul>
Tue, 17 Jan 2006 17:42:03 +0000 (17:42 +0000)
2006-01-17 Paul Jakma <paul.jakma@sun.com>

* vty.c: (no_terminal_monitor_cmd) New ALIAS for
  terminal_no_monitor, in the more normal negating format,
  to be kind to my fingers.
  (vty_init) install new ALIAS.

lib/ChangeLog
lib/vty.c

index a3270c68112d03aaab88f0db65eaf67a46d7ff29..430e6aac32636ed89e9245eea5eefa9b635375c4 100644 (file)
@@ -3,6 +3,10 @@
        * md5.{c,h}: (md5_loop) Is better off taking a void * and doing
          cast to byte wise type internally, avoids needs for casts 
          in users.
+       * vty.c: (no_terminal_monitor_cmd) New ALIAS for 
+         terminal_no_monitor, in the more normal negating format,
+         to be kind to my fingers.
+         (vty_init) install new ALIAS.
 
 2006-01-16 Paul Jakma <paul.jakma@sun.com>
 
index bb8df129627c5d41fd03ae2aec5c5aa44fcd0b44..206af065cffade84c6ee58a4578b9765c52b7229 100644 (file)
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2740,6 +2740,13 @@ DEFUN (terminal_no_monitor,
   return CMD_SUCCESS;
 }
 
+ALIAS (terminal_no_monitor,
+       no_terminal_monitor_cmd,
+       "no terminal monitor",
+       NO_STR
+       "Set terminal line parameters\n"
+       "Copy debug output to the current terminal line\n")
+
 DEFUN (show_history,
        show_history_cmd,
        "show history",
@@ -2908,6 +2915,7 @@ vty_init (struct thread_master *master_thread)
   install_element (CONFIG_NODE, &show_history_cmd);
   install_element (ENABLE_NODE, &terminal_monitor_cmd);
   install_element (ENABLE_NODE, &terminal_no_monitor_cmd);
+  install_element (ENABLE_NODE, &no_terminal_monitor_cmd);
   install_element (ENABLE_NODE, &show_history_cmd);
 
   install_default (VTY_NODE);