diff options
author | Justus Winter <[email protected]> | 2015-11-26 16:05:12 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2015-11-26 16:05:12 +0000 |
commit | 676b2d7081291f7e47a66755ab07af259fea130b (patch) | |
tree | 302dda6bb3a06964c5ce2b8d2370e3a9bf3241bf /tools/gpgtar.h | |
parent | tools/gpgtar: Handle '--gpg-args'. (diff) | |
download | gnupg-676b2d7081291f7e47a66755ab07af259fea130b.tar.gz gnupg-676b2d7081291f7e47a66755ab07af259fea130b.zip |
tools/gpgtar: Add '--dry-run'.
* tools/gpgtar-extract.c (extract_{regular,directory}): Honor
'--dry-run'.
* tools/gpgtar.c (enum cmd_and_opt_values): New value.
(opts): Add '--dry-run'.
(parse_arguments): Handle '--dry-run'.
* tools/gpgtar.h (opt): Add field 'dry_run'.
Signed-off-by: Justus Winter <[email protected]>
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 f130c94ee..eadbcac2a 100644 --- a/tools/gpgtar.h +++ b/tools/gpgtar.h @@ -29,6 +29,7 @@ struct int verbose; unsigned int debug_level; int quiet; + int dry_run; const char *gpg_program; strlist_t gpg_arguments; const char *outfile; |