diff options
author | Werner Koch <wk@gnupg.org> | 2023-01-20 09:00:31 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2023-01-20 09:00:31 +0100 |
commit | 33b6ee5047c8992fe65c494313b6c0f468969188 (patch) | |
tree | 76cc68ce971cd782781c57bb4f9e290d84d9b6c5 /doc/wks.texi | |
parent | doc: Revert last change the gpg --unwrap description (diff) | |
download | gnupg2-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.texi | 4 |
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 |