mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* gpg.sgml (http):
* g10.c, options.h: New option --exit-on-status-write-error. * status.c (write_status_text): Make use of this option.
This commit is contained in:
parent
04b9cec18f
commit
a486501c0b
15 changed files with 93 additions and 39 deletions
|
@ -346,6 +346,7 @@ enum cmd_and_opt_values
|
|||
oEnableProgressFilter,
|
||||
oMultifile,
|
||||
oKeyidFormat,
|
||||
oExitOnStatusWriteError,
|
||||
oLimitCardInsertTries,
|
||||
|
||||
oReaderPort,
|
||||
|
@ -676,6 +677,7 @@ static ARGPARSE_OPTS opts[] = {
|
|||
{ oEnableProgressFilter, "enable-progress-filter", 0, "@" },
|
||||
{ oMultifile, "multifile", 0, "@" },
|
||||
{ oKeyidFormat, "keyid-format", 2, "@" },
|
||||
{ oExitOnStatusWriteError, "exit-on-status-write-error", 0, "@" },
|
||||
{ oLimitCardInsertTries, "limit-card-insert-tries", 1, "@"},
|
||||
|
||||
{ oReaderPort, "reader-port", 2, "@"},
|
||||
|
@ -2543,6 +2545,11 @@ main (int argc, char **argv )
|
|||
else
|
||||
log_error("unknown keyid-format `%s'\n",pargs.r.ret_str);
|
||||
break;
|
||||
|
||||
case oExitOnStatusWriteError:
|
||||
opt.exit_on_status_write_error = 1;
|
||||
break;
|
||||
|
||||
case oLimitCardInsertTries:
|
||||
opt.limit_card_insert_tries = pargs.r.ret_int;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue