mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
* options.h, g10.c (main): Add --strict and --no-strict to switch the
log_warning severity level from info to error.
This commit is contained in:
parent
35cc8cf90a
commit
8c48fbd0e2
@ -1,5 +1,8 @@
|
||||
2002-10-03 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* options.h, g10.c (main): Add --strict and --no-strict to switch
|
||||
the log_warning severity level from info to error.
|
||||
|
||||
* keylist.c (print_capabilities): Secret-parts-missing keys should
|
||||
show that fact in the capabilities, and only primary signing keys
|
||||
can certify other keys.
|
||||
|
@ -300,6 +300,8 @@ enum cmd_and_opt_values { aNull = 0,
|
||||
oLCctype,
|
||||
oLCmessages,
|
||||
oGroup,
|
||||
oStrict,
|
||||
oNoStrict,
|
||||
aTest };
|
||||
|
||||
|
||||
@ -588,6 +590,8 @@ static ARGPARSE_OPTS opts[] = {
|
||||
{ oLCctype, "lc-ctype", 2, "@" },
|
||||
{ oLCmessages, "lc-messages", 2, "@" },
|
||||
{ oGroup, "group", 2, "@" },
|
||||
{ oStrict, "strict", 0, "@" },
|
||||
{ oNoStrict, "no-strict", 0, "@" },
|
||||
{0} };
|
||||
|
||||
|
||||
@ -1693,6 +1697,8 @@ main( int argc, char **argv )
|
||||
case oLCctype: opt.lc_ctype = pargs.r.ret_str; break;
|
||||
case oLCmessages: opt.lc_messages = pargs.r.ret_str; break;
|
||||
case oGroup: add_group(pargs.r.ret_str); break;
|
||||
case oStrict: opt.strict=1; log_set_strict(1); break;
|
||||
case oNoStrict: opt.strict=0; log_set_strict(0); break;
|
||||
default : pargs.err = configfp? 1:2; break;
|
||||
}
|
||||
}
|
||||
|
@ -177,6 +177,7 @@ struct {
|
||||
int no_homedir_creation;
|
||||
int show_keyring;
|
||||
struct groupitem *grouplist;
|
||||
int strict;
|
||||
} opt;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user