diff options
author | paul <paul> | 2006-01-17 17:42:03 +0000 |
---|---|---|
committer | paul <paul> | 2006-01-17 17:42:03 +0000 |
commit | 789f78ac5a5bf1c22c9c053c883f60d45761e89b (patch) | |
tree | ff7e4a00e6ff72fc3f15c8cd648a34f9c0160f34 /lib/vty.c | |
parent | 7d0b0c4b7f510178a8960b0e00368be017ed5a08 (diff) |
[lib/vty] Add 'no terminal monitor' alias
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.
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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); |