From d314a6bcef9168b9ddae13a8422fb675fb3ee407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Thu, 20 Aug 2020 14:04:37 +0200 Subject: [PATCH] enh: CLI: better description for -m --- method.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/method.c b/method.c index 4777757..42a3066 100644 --- a/method.c +++ b/method.c @@ -58,8 +58,8 @@ void ListMethods(void) for(i=0; imethodList->len; i++) { Method *method = g_ptr_array_index(Closure->methodList, i); - strncpy(name, method->name, 5); - PrintCLI("%s -- %s\n",name,method->description); + strncpy(name, method->name, 4); + PrintCLI("%s, enable with -m%s: %s\n",name,name,method->description); } }