From 18e6099230c3bfe23d4faeeae289554f127deb87 Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 19 Oct 2018 13:06:27 +0300 Subject: Add install script and config/verbose help --- src/actions.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/actions.c') 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: \ -- cgit v1.2.3