Commit d25b5db9ba for strongswan.org

commit d25b5db9baf904096d21a3b6cc2c0a854a4b629f
Author: Tobias Brunner <tobias@strongswan.org>
Date:   Mon Feb 23 11:19:35 2026 +0100

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

    Add shared options to the man page.

diff --git a/src/pki/commands/verify.c b/src/pki/commands/verify.c
index 7ad9585e99..5d4b474d54 100644
--- a/src/pki/commands/verify.c
+++ b/src/pki/commands/verify.c
@@ -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]"},
 		{
diff --git a/src/pki/man/pki.1.in b/src/pki/man/pki.1.in
index ea7ba6ea9a..566918d141 100644
--- a/src/pki/man/pki.1.in
+++ b/src/pki/man/pki.1.in
@@ -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"