diff --git a/main/astmm.c b/main/astmm.c
index 990fe26f0755acba4ba9b00912127a000d3164d4..45e9006b76f9c26d8f26efb4f19c4da91f46600c 100644
--- a/main/astmm.c
+++ b/main/astmm.c
@@ -417,11 +417,11 @@ static struct ast_cli_entry cli_show_memory_summary_deprecated = {
 static struct ast_cli_entry cli_memory[] = {
 	{ { "memory", "show", "allocations", NULL },
 	handle_show_memory, "Display outstanding memory allocations",
-	show_memory_help, NULL, &cli_show_memory_allocations },
+	show_memory_help, NULL, &cli_show_memory_allocations_deprecated },
 
 	{ { "memory", "show", "summary", NULL },
 	handle_show_memory_summary, "Summarize outstanding memory allocations",
-	show_memory_summary_help, NULL, &cli_show_memory_summary },
+	show_memory_summary_help, NULL, &cli_show_memory_summary_deprecated },
 };
 
 void __ast_mm_init(void)