Log list of loaded plugins in main PKI help output.
This commit is contained in:
@@ -176,6 +176,14 @@ int command_usage(char *error)
|
|||||||
fprintf(out, "Error: %s\n", error);
|
fprintf(out, "Error: %s\n", error);
|
||||||
}
|
}
|
||||||
fprintf(out, "strongSwan %s PKI tool\n", VERSION);
|
fprintf(out, "strongSwan %s PKI tool\n", VERSION);
|
||||||
|
|
||||||
|
if (active == help_idx)
|
||||||
|
{
|
||||||
|
char *plugins = lib->plugins->loaded_plugins(lib->plugins);
|
||||||
|
fprintf(out, "loaded plugins: %s\n", plugins);
|
||||||
|
free(plugins);
|
||||||
|
}
|
||||||
|
|
||||||
fprintf(out, "usage:\n");
|
fprintf(out, "usage:\n");
|
||||||
if (active == help_idx)
|
if (active == help_idx)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user