From 4cd6ff74a47ca5443acd645b9748d298b2d79fa5 Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 23 Aug 2022 18:41:22 +0200 Subject: [PATCH] Handle pdk? pdi? and pd,? removing related warnings --- libr/core/cmd_print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libr/core/cmd_print.c b/libr/core/cmd_print.c index 4b099f8be7..6b60baf818 100644 --- a/libr/core/cmd_print.c +++ b/libr/core/cmd_print.c @@ -6196,7 +6196,7 @@ static int cmd_print(void *data, const char *input) { case ',': // "pd," case 't': // "pdt" // R_DEPRECATE pdt imho if (input[2] == '?') { - R_LOG_WARN ("Missing help for pd,? command"); + r_core_cmd_help_match (core, help_msg_pd, "pd,", true); return 0; } else { r_core_disasm_table (core, l, r_str_trim_head_ro (input + 2)); @@ -6206,7 +6206,7 @@ static int cmd_print(void *data, const char *input) { break; case 'k': // "pdk" -print class if (input[2] == '?') { - R_LOG_WARN ("Missing help for pdk? command"); + r_core_cmd_help_match (core, help_msg_pd, "pdk", true); return 0; } else { int len = 0; @@ -6216,7 +6216,7 @@ static int cmd_print(void *data, const char *input) { break; case 'i': // "pdi" // "pDi" if (input[2] == '?') { - R_LOG_WARN ("Missing help for pdi? command"); + r_core_cmd_help_match (core, help_msg_pd, "pdi", true); return 0; } else { processed_cmd = true;