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:
parent
1f7639ebbe
commit
26c7c1d72c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user