aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 1155f501c..4883493db 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -442,6 +442,7 @@ enum cmd_and_opt_values
oChUid,
oForceSignKey,
oForbidGenKey,
+ oRequireCompliance,
oNoop
};
@@ -911,6 +912,7 @@ static gpgrt_opt_t opts[] = {
ARGPARSE_s_n (oNoAutostart, "no-autostart", "@"),
ARGPARSE_s_n (oUseKeyboxd, "use-keyboxd", "@"),
ARGPARSE_s_n (oForbidGenKey, "forbid-gen-key", "@"),
+ ARGPARSE_s_n (oRequireCompliance, "require-compliance", "@"),
/* Options which can be used in special circumstances. They are not
* published and we hope they are never required. */
ARGPARSE_s_n (oUseOnlyOpenPGPCard, "use-only-openpgp-card", "@"),
@@ -3731,6 +3733,10 @@ main (int argc, char **argv)
mopt.forbid_gen_key = 1;
break;
+ case oRequireCompliance:
+ opt.flags.require_compliance = 1;
+ break;
+
case oNoop: break;
default: