mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Make --output work with --verify.
* g10/mainproc.c (proc_plaintext): Handle opt.output. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
6308c30019
commit
bbe940c095
2 changed files with 15 additions and 8 deletions
16
doc/gpg.texi
16
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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue