diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-01-19 11:56:43 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-01-19 11:56:43 +0100 |
commit | fdf1f239ef33d9bb69a49138956c6fd52c74a053 (patch) | |
tree | ea84bea553ebef20a38e50fa85988e2cd84eb8d8 /src/pki | |
parent | 576298a3ef07bba9999dfe167aba46d527e2cbfe (diff) | |
download | strongswan-fdf1f239ef33d9bb69a49138956c6fd52c74a053.tar.bz2 strongswan-fdf1f239ef33d9bb69a49138956c6fd52c74a053.tar.xz |
Log list of loaded plugins in main PKI help output.
Diffstat (limited to 'src/pki')
-rw-r--r-- | src/pki/command.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pki/command.c b/src/pki/command.c index 0142b4ab7..e74072f9e 100644 --- a/src/pki/command.c +++ b/src/pki/command.c @@ -176,6 +176,14 @@ int command_usage(char *error) fprintf(out, "Error: %s\n", error); } 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"); if (active == help_idx) { |