1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-09 21:28:51 +01:00

sm: New stub option --compliance.

* sm/gpgsm.c (oCompliance): New.
(opts): Add "--compliance".
(main): Implement as stub.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-11-15 13:13:14 +01:00
parent 1f7639ebbe
commit 26c7c1d72c
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -133,6 +133,8 @@ enum cmd_and_opt_values {
oNoArmor, oNoArmor,
oP12Charset, oP12Charset,
oCompliance,
oDisableCRLChecks, oDisableCRLChecks,
oEnableCRLChecks, oEnableCRLChecks,
oDisableTrustedCertCRLCheck, oDisableTrustedCertCRLCheck,
@ -361,6 +363,7 @@ static ARGPARSE_OPTS opts[] = {
" --fingerprint [names] show fingerprints\n" )), " --fingerprint [names] show fingerprints\n" )),
/* Hidden options. */ /* Hidden options. */
ARGPARSE_s_s (oCompliance, "compliance", "@"),
ARGPARSE_s_n (oNoVerbose, "no-verbose", "@"), ARGPARSE_s_n (oNoVerbose, "no-verbose", "@"),
ARGPARSE_s_n (oEnableSpecialFilenames, "enable-special-filenames", "@"), ARGPARSE_s_n (oEnableSpecialFilenames, "enable-special-filenames", "@"),
ARGPARSE_s_n (oNoSecmemWarn, "no-secmem-warning", "@"), ARGPARSE_s_n (oNoSecmemWarn, "no-secmem-warning", "@"),
@ -1445,6 +1448,10 @@ main ( int argc, char **argv)
case oNoAutostart: opt.autostart = 0; break; case oNoAutostart: opt.autostart = 0; break;
case oCompliance:
/* Dummy option for now. */
break;
default: default:
pargs.err = configfp? ARGPARSE_PRINT_WARNING:ARGPARSE_PRINT_ERROR; pargs.err = configfp? ARGPARSE_PRINT_WARNING:ARGPARSE_PRINT_ERROR;
break; break;