summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-05-06 12:57:10 +0200
committerWerner Koch <wk@gnupg.org>2009-05-06 12:57:10 +0200
commit6adb13b07998a97369a922cffd6224030266fde7 (patch)
treeeb5b0f9a2d46f7666aa6b0fc39f3c84a1f0d879b /doc
parentFix bug#1034. (diff)
downloadgnupg2-6adb13b07998a97369a922cffd6224030266fde7.tar.xz
gnupg2-6adb13b07998a97369a922cffd6224030266fde7.zip
Fix example.
Diffstat (limited to 'doc')
-rw-r--r--doc/gpgv.texi15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/gpgv.texi b/doc/gpgv.texi
index 0ee6614da..b6047f4ba 100644
--- a/doc/gpgv.texi
+++ b/doc/gpgv.texi
@@ -123,13 +123,14 @@ one signature was bad, and other error codes for fatal errors.
@table @asis
@item @gpgvname @code{pgpfile}
-@itemx @gpgvname @code{sigfile}
-Verify the signature of the file. 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", ".sig" or ".sign") from
-@code{sigfile}.
+@itemx @gpgvname @code{sigfile} [@code{datafile}]
+Verify the signature of the file. The second form is used for detached
+signatures, where @code{sigfile} is the detached signature (either
+ASCII-armored or binary) and @code{datafile} contains the signed data;
+if @code{datafile} is "-" the signed data is expected on
+@code{stdin}; if @code{datafile} is not given the name of the file
+holding the signed data is constructed by cutting off the extension
+(".asc", ".sig" or ".sign") from @code{sigfile}.
@end table