summaryrefslogtreecommitdiffstats
path: root/doc/wks.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-01-20 09:00:31 +0100
committerWerner Koch <wk@gnupg.org>2023-01-20 09:00:31 +0100
commit33b6ee5047c8992fe65c494313b6c0f468969188 (patch)
tree76cc68ce971cd782781c57bb4f9e290d84d9b6c5 /doc/wks.texi
parentdoc: Revert last change the gpg --unwrap description (diff)
downloadgnupg2-33b6ee5047c8992fe65c494313b6c0f468969188.tar.xz
gnupg2-33b6ee5047c8992fe65c494313b6c0f468969188.zip
wkd: Support option --output for command --check.
* tools/wks-util.c (write_to_file): Rename to ... (wks_write_to_file): this, make global, and support NULL for fname. * tools/gpg-wks-client.c (command_check): Write to key.
Diffstat (limited to 'doc/wks.texi')
-rw-r--r--doc/wks.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/wks.texi b/doc/wks.texi
index a7805a34a..39e345f15 100644
--- a/doc/wks.texi
+++ b/doc/wks.texi
@@ -189,7 +189,9 @@ fields are (future versions may specify additional fields):
@itemx -o
@opindex output
Write the created mail to @var{file} instead of stdout. Note that the
-value @code{-} for @var{file} is the same as writing to stdout.
+value @code{-} for @var{file} is the same as writing to stdout. If
+this option is used with the @option{--check} command and a key was
+found it is written to the given file.
@item --status-fd @var{n}
@opindex status-fd