aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-19 13:06:27 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-19 13:06:27 +0300
commit18e6099230c3bfe23d4faeeae289554f127deb87 (patch)
treee395857e93a6f40a801aa97c8fd4e9349c72e824 /src/actions.c
parent147efc35461763c38e8875afac7bc44d2559204b (diff)
downloadck-18e6099230c3bfe23d4faeeae289554f127deb87.tar.gz
ck-18e6099230c3bfe23d4faeeae289554f127deb87.tar.bz2
ck-18e6099230c3bfe23d4faeeae289554f127deb87.zip
Add install script and config/verbose help
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index 417f9ce..fcdf308 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -281,6 +281,16 @@ int run_HELP(UserOpt *opt, Conf *conf) {
return 0;
}
+ if (strcmp(list_get(opt->args), "config") == 0) {
+ print_conf_help();
+ return 0;
+ }
+
+ if (strcmp(list_get(opt->args), "verbose") == 0) {
+ print_verbose_help();
+ return 0;
+ }
+
switch(parser_get_action(list_get(opt->args), NULL)) {
#define X(ACTION) \
case CKA_##ACTION: \