Merge pull request #2117 from mjstapp/vty_do_mem

vtysh: use 'do' for show memory and show modules
This commit is contained in:
Quentin Young 2018-04-24 17:08:51 -04:00 committed by GitHub
commit b5b9eedbb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2162,7 +2162,7 @@ DEFUN (vtysh_show_memory,
SHOW_STR
"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,
@ -2171,7 +2171,7 @@ DEFUN (vtysh_show_modules,
SHOW_STR
"Loaded modules\n")
{
return show_per_daemon("show modules\n",
return show_per_daemon("do show modules\n",
"Module information for %s:\n");
}