enh: CLI: better description for -m

This commit is contained in:
Stéphane Lesimple
2020-08-20 14:04:37 +02:00
parent b4aed53e23
commit d314a6bcef

View File

@@ -58,8 +58,8 @@ void ListMethods(void)
for(i=0; i<Closure->methodList->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);
}
}