aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/keyid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pki/commands/keyid.c')
-rw-r--r--src/pki/commands/keyid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pki/commands/keyid.c b/src/pki/commands/keyid.c
index 128645ee0..49cc1cc58 100644
--- a/src/pki/commands/keyid.c
+++ b/src/pki/commands/keyid.c
@@ -38,6 +38,9 @@ static int keyid(int argc, char *argv[])
{
case 'h':
return command_usage(NULL);
+ case 'v':
+ dbg_level = atoi(optarg);
+ continue;
case 't':
if (streq(optarg, "rsa-priv"))
{
@@ -152,6 +155,7 @@ static void __attribute__ ((constructor))reg()
{"help", 'h', 0, "show usage information"},
{"in", 'i', 1, "input file, default: stdin"},
{"type", 't', 1, "type of key, default: rsa-priv"},
+ {"debug", 'v', 1, "set debug level, default: 1"},
}
});
}