mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
Merge pull request #2117 from mjstapp/vty_do_mem
vtysh: use 'do' for show memory and show modules
This commit is contained in:
commit
b5b9eedbb2
@ -2162,7 +2162,7 @@ DEFUN (vtysh_show_memory,
|
|||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Memory statistics\n")
|
"Memory statistics\n")
|
||||||
{
|
{
|
||||||
return show_per_daemon("show memory\n", "Memory statistics for %s:\n");
|
return show_per_daemon("do show memory\n", "Memory statistics for %s:\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN (vtysh_show_modules,
|
DEFUN (vtysh_show_modules,
|
||||||
@ -2171,7 +2171,7 @@ DEFUN (vtysh_show_modules,
|
|||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Loaded modules\n")
|
"Loaded modules\n")
|
||||||
{
|
{
|
||||||
return show_per_daemon("show modules\n",
|
return show_per_daemon("do show modules\n",
|
||||||
"Module information for %s:\n");
|
"Module information for %s:\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user