From b74185b6eaeaae4754726ff203e11977777f568c Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Fri, 1 Apr 2016 14:51:56 +0200 Subject: g10: Remove option --always-trust if compiled without trust models. * g10/gpg.c (opts): Remove option --always-trust if compiled without trust models. Signed-off-by: Justus Winter --- g10/gpg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/g10/gpg.c b/g10/gpg.c index 330d5a3fa..b9d69a7cb 100644 --- a/g10/gpg.c +++ b/g10/gpg.c @@ -681,7 +681,9 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_s_n (oSkipHiddenRecipients, "skip-hidden-recipients", "@"), ARGPARSE_s_n (oNoSkipHiddenRecipients, "no-skip-hidden-recipients", "@"), ARGPARSE_s_i (oDefCertLevel, "default-cert-check-level", "@"), /* old */ +#ifndef NO_TRUST_MODELS ARGPARSE_s_n (oAlwaysTrust, "always-trust", "@"), +#endif ARGPARSE_s_s (oTrustModel, "trust-model", "@"), ARGPARSE_s_s (oTOFUDefaultPolicy, "tofu-default-policy", "@"), ARGPARSE_s_s (oTOFUDBFormat, "tofu-db-format", "@"), -- cgit v1.2.3