summaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-09-08 00:45:45 +0200
committerWerner Koch <wk@gnupg.org>2016-09-08 00:45:45 +0200
commitbbe940c095f2bca7a1ca5f8e68ca1af98350a885 (patch)
treea24139dab158cccee2b01e1e489695838644036f /doc/gpg.texi
parentdirmngr: Terminate on deletion of the socket file (Linux only). (diff)
downloadgnupg2-bbe940c095f2bca7a1ca5f8e68ca1af98350a885.tar.xz
gnupg2-bbe940c095f2bca7a1ca5f8e68ca1af98350a885.zip
gpg: Make --output work with --verify.
* g10/mainproc.c (proc_plaintext): Handle opt.output. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r--doc/gpg.texi16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 8864a0ad5..74977c59e 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -3438,13 +3438,15 @@ show fingerprint
@item gpg --verify @code{pgpfile}
@itemx gpg --verify @code{sigfile}
-Verify the signature of the file but do not output the data. The
-second form is used for detached signatures, where @code{sigfile}
-is the detached signature (either ASCII armored or binary) and
-are the signed data; if this is not given, the name of
-the file holding the signed data is constructed by cutting off the
-extension (".asc" or ".sig") of @code{sigfile} or by asking the
-user for the filename.
+Verify the signature of the file but do not output the data unless
+requested. The second form is used for detached signatures, where
+@code{sigfile} is the detached signature (either ASCII armored or
+binary) and are the signed data; if this is not given, the name of the
+file holding the signed data is constructed by cutting off the
+extension (".asc" or ".sig") of @code{sigfile} or by asking the user
+for the filename. If the option @option{--output} is also used the
+signed data is written to the file specified by that option; use
+@code{-} to write the signed data to stdout.
@end table