about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorViachaslau Khalikin <viachaslau.vinegret@outlook.com>2022-09-18 19:29:02 +0300
committerViachaslau Khalikin <viachaslau.vinegret@outlook.com>2022-09-19 00:12:49 +0300
commitdd1a9a1e504bb60d1ced98f2da874b9b6cb88a64 (patch)
tree979471a0c5df048b65bde438c11f5291fc9c4858 /src
parent496eb6ceb81508291e49a6e3e91bd62f1eee333c (diff)
downloadprofani-tty-dd1a9a1e504bb60d1ced98f2da874b9b6cb88a64.tar.gz
Fix handle cmd_plugins_uninstall without args
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
Diffstat (limited to 'src')
-rw-r--r--src/command/cmd_funcs.c3
1 files changed, 2 insertions, 1 deletions
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]);