summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-28 17:43:11 +0000
committerhasso <hasso>2004-10-28 17:43:11 +0000
commitf2799e69514f4e63598e77b823fb9a67f5dc3c61 (patch)
tree7b2d7595beb561912a096afe7ffaa40e4c595350 /vtysh
parent6bd7c6aec24957ccf9583d17320205786b5dcc7b (diff)
"show running-daemons" -> "show daemons".
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/ChangeLog6
-rw-r--r--vtysh/vtysh.c10
2 files changed, 11 insertions, 5 deletions
diff --git a/vtysh/ChangeLog b/vtysh/ChangeLog
index b6a2eeaa..ad7e7b2d 100644
--- a/vtysh/ChangeLog
+++ b/vtysh/ChangeLog
@@ -1,3 +1,9 @@
+2004-10-28 Hasso Tepper <hasso at quagga.net>
+
+ * vtysh.c: "show running-daemons" broke users habits who are using
+ "sho run" to view running configuration. Changed it to "show
+ daemons".
+
2004-10-20 Hasso Tepper <hasso at quagga.net>
* vtysh.c: Don't popen pager if command is "exit". Fixes "vtysh screws
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index cea91b3e..d3f672d3 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -1676,9 +1676,9 @@ DEFUN (vtysh_terminal_no_length,
return CMD_SUCCESS;
}
-DEFUN (vtysh_show_running_daemons,
- vtysh_show_running_daemons_cmd,
- "show running-daemons",
+DEFUN (vtysh_show_daemons,
+ vtysh_show_daemons_cmd,
+ "show daemons",
SHOW_STR
"Show list of running daemons\n")
{
@@ -2160,8 +2160,8 @@ vtysh_init_vty ()
install_element (ENABLE_NODE, &vtysh_terminal_length_cmd);
install_element (VIEW_NODE, &vtysh_terminal_no_length_cmd);
install_element (ENABLE_NODE, &vtysh_terminal_no_length_cmd);
- install_element (VIEW_NODE, &vtysh_show_running_daemons_cmd);
- install_element (ENABLE_NODE, &vtysh_show_running_daemons_cmd);
+ install_element (VIEW_NODE, &vtysh_show_daemons_cmd);
+ install_element (ENABLE_NODE, &vtysh_show_daemons_cmd);
install_element (VIEW_NODE, &vtysh_ping_cmd);
install_element (VIEW_NODE, &vtysh_ping_ip_cmd);