diff options
author | Justus Winter <justus@g10code.com> | 2015-11-25 14:57:14 +0100 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2015-11-25 14:57:14 +0100 |
commit | 89e104eb38c3a6896892ff09db11cb1bae2bb0d3 (patch) | |
tree | d358f3dd64fd3426d4bb4ddd51b6997b7246ca8e /tools/gpgtar.h | |
parent | tools/gpgtar: Improve error handling. (diff) | |
download | gnupg2-89e104eb38c3a6896892ff09db11cb1bae2bb0d3.tar.xz gnupg2-89e104eb38c3a6896892ff09db11cb1bae2bb0d3.zip |
tools/gpgtar: Handle '--gpg' argument.
* tools/gpgtar-create.c (gpgtar_create): Use given gpg program.
* tools/gpgtar-extract.c (gpgtar_extract): Likewise.
* tools/gpgtar-list.c (gpgtar_list): Likewise.
* tools/gpgtar.c (enum cmd_and_opt_values): New constant.
(opts): Add argument.
(main): Handle argument.
* tools/gpgtar.h (opt): Add field 'gpg_program'.
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tools/gpgtar.h')
-rw-r--r-- | tools/gpgtar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpgtar.h b/tools/gpgtar.h index ab2ccecc1..98fd51c01 100644 --- a/tools/gpgtar.h +++ b/tools/gpgtar.h @@ -29,6 +29,7 @@ struct int verbose; unsigned int debug_level; int quiet; + const char *gpg_program; const char *outfile; strlist_t recipients; const char *user; |