From ba873216ff999d45680b7aed0713d7e65c2e7d2f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 20 Aug 2020 16:11:58 +0200 Subject: gpgtar: Add dummy option --tar -- GnuPG-bug-id: 3772 Signed-off-by: Werner Koch --- tools/gpgtar.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools') diff --git a/tools/gpgtar.c b/tools/gpgtar.c index 315f8a74b..4a5a00a1f 100644 --- a/tools/gpgtar.c +++ b/tools/gpgtar.c @@ -79,6 +79,7 @@ enum cmd_and_opt_values /* Compatibility with gpg-zip. */ oGpgArgs, oTarArgs, + oTarProgram, /* Debugging. */ oDryRun, @@ -122,6 +123,7 @@ static gpgrt_opt_t opts[] = { ARGPARSE_s_s (oGpgArgs, "gpg-args", "@"), ARGPARSE_s_s (oTarArgs, "tar-args", "@"), + ARGPARSE_s_s (oTarProgram, "tar", "@"), ARGPARSE_end () }; @@ -381,6 +383,9 @@ parse_arguments (gpgrt_argparse_t *pargs, gpgrt_opt_t *popts) } break; + case oTarProgram: /* Dummy option. */ + break; + case oTarArgs: { int tar_argc; @@ -414,6 +419,7 @@ parse_arguments (gpgrt_argparse_t *pargs, gpgrt_opt_t *popts) } } + /* gpgtar main. */ int -- cgit v1.2.3