From dd1a9a1e504bb60d1ced98f2da874b9b6cb88a64 Mon Sep 17 00:00:00 2001 From: Viachaslau Khalikin Date: Sun, 18 Sep 2022 19:29:02 +0300 Subject: [PATCH] Fix handle cmd_plugins_uninstall without args Signed-off-by: Viachaslau Khalikin --- src/command/cmd_funcs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 5d3673bb..3e40a4ea 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -7117,7 +7117,8 @@ gboolean cmd_plugins_uninstall(ProfWin* window, const char* const command, gchar** args) { if (args[1] == NULL) { - return FALSE; + cons_show("Please specify plugin name, see /help plugins"); + return TRUE; } gboolean res = plugins_uninstall(args[1]);