Commit 0c1e02a7 authored by Jan Včelák's avatar Jan Včelák 🚀

keymgr: open manual page with --help

parent 1c55d4b0
......@@ -1376,7 +1376,9 @@ static int cmd_tsig(int argc, char *argv[])
static void print_help(void)
{
printf("TBD.\n");
if (execlp("man", "man", "keymgr", NULL) == -1) {
fprintf(stderr, "Failed to open manual page.\n");
}
}
static void print_version(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment