From 676b2d7081291f7e47a66755ab07af259fea130b Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 26 Nov 2015 17:05:12 +0100 Subject: 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 --- tools/gpgtar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/gpgtar.h') 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; -- cgit v1.2.3