diff options
Diffstat (limited to 'src/pki/commands/pub.c')
-rw-r--r-- | src/pki/commands/pub.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pki/commands/pub.c b/src/pki/commands/pub.c index 16bd0b049..9e4897b2a 100644 --- a/src/pki/commands/pub.c +++ b/src/pki/commands/pub.c @@ -39,6 +39,9 @@ static int pub(int argc, char *argv[]) { case 'h': return command_usage(NULL); + case 'v': + dbg_level = atoi(optarg); + continue; case 't': if (streq(optarg, "rsa")) { @@ -145,6 +148,7 @@ static void __attribute__ ((constructor))reg() {"in", 'i', 1, "input file, default: stdin"}, {"type", 't', 1, "type of credential, default: rsa"}, {"outform", 'f', 1, "encoding of extracted public key"}, + {"debug", 'v', 1, "set debug level, default: 1"}, } }); } |