mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +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,
|
||||
oP12Charset,
|
||||
|
||||
oCompliance,
|
||||
|
||||
oDisableCRLChecks,
|
||||
oEnableCRLChecks,
|
||||
oDisableTrustedCertCRLCheck,
|
||||
@ -361,6 +363,7 @@ static ARGPARSE_OPTS opts[] = {
|
||||
" --fingerprint [names] show fingerprints\n" )),
|
||||
|
||||
/* Hidden options. */
|
||||
ARGPARSE_s_s (oCompliance, "compliance", "@"),
|
||||
ARGPARSE_s_n (oNoVerbose, "no-verbose", "@"),
|
||||
ARGPARSE_s_n (oEnableSpecialFilenames, "enable-special-filenames", "@"),
|
||||
ARGPARSE_s_n (oNoSecmemWarn, "no-secmem-warning", "@"),
|
||||
@ -1445,6 +1448,10 @@ main ( int argc, char **argv)
|
||||
|
||||
case oNoAutostart: opt.autostart = 0; break;
|
||||
|
||||
case oCompliance:
|
||||
/* Dummy option for now. */
|
||||
break;
|
||||
|
||||
default:
|
||||
pargs.err = configfp? ARGPARSE_PRINT_WARNING:ARGPARSE_PRINT_ERROR;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user