aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/self.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-07-31 19:48:45 +0200
committerTobias Brunner <tobias@strongswan.org>2013-09-13 15:07:35 +0200
commit3a643b8901ea6e87ffa3834a1f5358baf644b6b4 (patch)
treee55fddbb3e7e8b42f824890bab6a32885d03d074 /src/pki/commands/self.c
parenta612f6e338ef2e70c1dd4b6c6dafb941212582d8 (diff)
downloadstrongswan-3a643b8901ea6e87ffa3834a1f5358baf644b6b4.tar.bz2
strongswan-3a643b8901ea6e87ffa3834a1f5358baf644b6b4.tar.xz
pki: Add pki --self man page
Can be opened with "man pki --self".
Diffstat (limited to 'src/pki/commands/self.c')
-rw-r--r--src/pki/commands/self.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pki/commands/self.c b/src/pki/commands/self.c
index 448360821..a1f17c8f9 100644
--- a/src/pki/commands/self.c
+++ b/src/pki/commands/self.c
@@ -378,14 +378,14 @@ static void __attribute__ ((constructor))reg()
command_register((command_t) {
self, 's', "self",
"create a self signed certificate",
- {"[--in file | --keyid hex] [--type rsa|ecdsa]",
+ {" [--in file|--keyid hex] [--type rsa|ecdsa]",
" --dn distinguished-name [--san subjectAltName]+",
"[--lifetime days] [--serial hex] [--ca] [--ocsp uri]+",
"[--flag serverAuth|clientAuth|crlSign|ocspSigning]+",
"[--nc-permitted name] [--nc-excluded name]",
- "[--cert-policy oid [--cps-uri uri] [--user-notice text] ]+",
"[--policy-map issuer-oid:subject-oid]",
"[--policy-explicit len] [--policy-inhibit len] [--policy-any len]",
+ "[--cert-policy oid [--cps-uri uri] [--user-notice text]]+",
"[--digest md5|sha1|sha224|sha256|sha384|sha512] [--outform der|pem]"},
{
{"help", 'h', 0, "show usage information"},