aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/self.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-09-13 15:15:40 +0200
committerTobias Brunner <tobias@strongswan.org>2013-09-13 15:17:04 +0200
commitd6c43847be35b7fe431ae96fddfb1ba97d9fa8de (patch)
treef4d2c0807f11f9bed64aa52e9d8085e9d4a2ab56 /src/pki/commands/self.c
parentf5dcb38ead5bf812e19acfa4c3b8867f3123f466 (diff)
parented56c86ec1098d62f65580bb4889fb10cc1998cf (diff)
downloadstrongswan-d6c43847be35b7fe431ae96fddfb1ba97d9fa8de.tar.bz2
strongswan-d6c43847be35b7fe431ae96fddfb1ba97d9fa8de.tar.xz
Merge branch 'man-pki'
This adds man pages for all pki sub-commands and promotes pki to a regular program installed in $prefix/bin. The usage output of several commands was fixed too.
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"},