mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Add options --output and --yes to gpgv.
* g10/gpgv.c (oOutput, oAnswerYes): New. (opts): Add --output and --yes. (main): Implement options. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
bbe940c095
commit
a8363b7d0b
3 changed files with 19 additions and 1 deletions
|
@ -2153,7 +2153,8 @@ Assume the input data is not in ASCII armored format.
|
|||
@item --output @var{file}
|
||||
@itemx -o @var{file}
|
||||
@opindex output
|
||||
Write output to @var{file}.
|
||||
Write output to @var{file}. To write to stdout use @code{-} as the
|
||||
filename.
|
||||
|
||||
@item --max-output @code{n}
|
||||
@opindex max-output
|
||||
|
|
|
@ -92,6 +92,16 @@ are replaced by the HOME directory. If the filename
|
|||
does not contain a slash, it is assumed to be in the
|
||||
home-directory ("~/.gnupg" if --homedir is not used).
|
||||
|
||||
@item --output @var{file}
|
||||
@itemx -o @var{file}
|
||||
@opindex output
|
||||
Write output to @var{file}. This option can be used to get the signed
|
||||
text from a cleartext or binary signature; it also works for detached
|
||||
signatures, but in that case this option is in general not
|
||||
useful. Unless you write to stdout (using @code{-} for @var{file}) you
|
||||
should also use the option @option{--yes} to force overwriting an
|
||||
existing file.
|
||||
|
||||
@item --status-fd @var{n}
|
||||
@opindex status-fd
|
||||
Write special status strings to the file descriptor @var{n}. See the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue