aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-02-11 11:15:49 +0000
committerWerner Koch <[email protected]>2021-02-11 11:15:49 +0000
commitb770393b76b6994a0746dc898a856e8a19491f6f (patch)
tree2ef21dcc364773eb2b97ba00f6aabc626c531650 /tools/gpg-card.c
parentgpg: Do not allow old cipher algorithms for encryption. (diff)
downloadgnupg-b770393b76b6994a0746dc898a856e8a19491f6f.tar.gz
gnupg-b770393b76b6994a0746dc898a856e8a19491f6f.zip
doc: Improve the gpg-card man page.
--
Diffstat (limited to 'tools/gpg-card.c')
-rw-r--r--tools/gpg-card.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/gpg-card.c b/tools/gpg-card.c
index 07e7ce4c8..fb12353f4 100644
--- a/tools/gpg-card.c
+++ b/tools/gpg-card.c
@@ -1962,10 +1962,11 @@ cmd_writecert (card_info_t info, char *argstr)
("WRITECERT CERTREF '<' FILE\n"
"WRITECERT --openpgp CERTREF ['<' FILE|FPR]\n"
"WRITECERT --clear CERTREF\n\n"
- "Write a certificate for key 3. The option --clear removes\n"
- "the certificate from the card. The option --openpgp expects\n"
- "a keyblock and stores it encapsulated in a CMS container; the\n"
- "keyblock is taken from FILE or directly from the key with FPR",
+ "Write a certificate to the card under the id CERTREF.\n"
+ "The option --clear removes the certificate from the card.\n"
+ "The option --openpgp expects an OpenPGP keyblock and stores\n"
+ "it encapsulated in a CMS container; the keyblock is taken\n"
+ "from FILE or directly from the OpenPGP key with FPR",
APP_TYPE_OPENPGP, APP_TYPE_PIV, 0);
opt_clear = has_leading_option (argstr, "--clear");