Home GnuPG
Diffusion GnuPG 2eb324805833

tools/gpgtar: Handle '--tar-args' for compatibility with gpg-zip.
2eb324805833Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tools/gpgtar: Handle '--tar-args' for compatibility with gpg-zip.

* tools/gpgtar.c (enum cmd_and_opt_values): New value.
(opts): Add new group for tar options, rearrange a little, add
'--tar-args'.
(tar_opts): New variable.
(shell_parse_stringlist): New function.
(shell_parse_argv): Likewise.
(parse_arguments): Add option argument, handle '--tar-args'.
(main): Fix invokation of 'parse_arguments'.
* tests/openpgp/gpgtar.test: Simplify decryption.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 26 2015, 2:08 PM
Parents
rG35c0c8b211bc: tools/gpgtar: Rework argument parsing.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG2eb324805833: tools/gpgtar: Handle '--tar-args' for compatibility with gpg-zip. (authored by Justus Winter <justus@g10code.com>).Nov 26 2015, 2:28 PM