diff options
author | Werner Koch <wk@gnupg.org> | 2020-08-20 16:11:58 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-08-20 16:11:58 +0200 |
commit | ba873216ff999d45680b7aed0713d7e65c2e7d2f (patch) | |
tree | cf726087f1defef7a95d77e1bab0cc3dc9fbdd39 /tools | |
parent | gpgtar: Make --files-from and --null work as described. (diff) | |
download | gnupg2-ba873216ff999d45680b7aed0713d7e65c2e7d2f.tar.xz gnupg2-ba873216ff999d45680b7aed0713d7e65c2e7d2f.zip |
gpgtar: Add dummy option --tar
--
GnuPG-bug-id: 3772
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpgtar.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |