aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/gen.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-07-31 19:19:08 +0200
committerTobias Brunner <tobias@strongswan.org>2013-09-13 15:07:29 +0200
commita612f6e338ef2e70c1dd4b6c6dafb941212582d8 (patch)
tree861f4703d042b29e70cb80285c2bdd584090d7c5 /src/pki/commands/gen.c
parent34cff9349b422d455f5d51577849fea8b4d7b192 (diff)
downloadstrongswan-a612f6e338ef2e70c1dd4b6c6dafb941212582d8.tar.bz2
strongswan-a612f6e338ef2e70c1dd4b6c6dafb941212582d8.tar.xz
pki: Add pki --gen man page
Can be opened with "man pki --gen".
Diffstat (limited to 'src/pki/commands/gen.c')
-rw-r--r--src/pki/commands/gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pki/commands/gen.c b/src/pki/commands/gen.c
index e3602f0c3..b74be7d98 100644
--- a/src/pki/commands/gen.c
+++ b/src/pki/commands/gen.c
@@ -151,7 +151,7 @@ static void __attribute__ ((constructor))reg()
command_register((command_t) {
gen, 'g', "gen", "generate a new private key",
{" [--type rsa|ecdsa] [--size bits] [--safe-primes]",
- "[--shares n] [--threshold l] [--outform der|pem|pgp]"},
+ "[--shares n] [--threshold l] [--outform der|pem]"},
{
{"help", 'h', 0, "show usage information"},
{"type", 't', 1, "type of key, default: rsa"},
@@ -159,7 +159,7 @@ static void __attribute__ ((constructor))reg()
{"safe-primes", 'p', 0, "generate rsa safe primes"},
{"shares", 'n', 1, "number of private rsa key shares"},
{"threshold", 'l', 1, "minimum number of participating rsa key shares"},
- {"outform", 'f', 1, "encoding of generated private key"},
+ {"outform", 'f', 1, "encoding of generated private key, default: der"},
}
});
}