pki: Avoid conflict between --verify and --debug

Add shared options to the man page.
This commit is contained in:
Tobias Brunner
2026-02-23 11:24:56 +01:00
parent 9b4bbbbccf
commit d25b5db9ba
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ end:
static void __attribute__ ((constructor))reg()
{
command_register((command_t) {
verify, 'v', "verify",
verify, 'V', "verify",
"verify a certificate using one or more CA certificates",
{"[--in file] [--cacert file]+ [--crl file]"},
{
+9 -1
View File
@@ -86,7 +86,7 @@ Extract the subject DN of an X.509 certificate.
.B "\-p, \-\-pub"
Extract a public key from a private key or certificate.
.TP
.B "\-v, \-\-verify"
.B "\-V, \-\-verify"
Verify a certificate using a CA certificate.
.TP
.B "\-S, \-\-scep"
@@ -104,6 +104,14 @@ Get CA certificate[s] from an EST server.
.B "\-o, \-\-ocsp"
OCSP request parser and OCSP responder.
.
.SH GENERAL OPTIONS
.TP
.B "\-v, \-\-debug"
set debug level, default: 1
.TP
.B "\-+, \-\-options"
read command line options from file
.
.SH "EXAMPLES"
.
.SS "Generating a CA Certificate"