mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgtar: Add dummy option --tar
-- GnuPG-bug-id: 3772 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
e276f63e4a
commit
ba873216ff
2 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue