diff options
author | David Shaw <[email protected]> | 2003-04-27 20:22:09 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-04-27 20:22:09 +0000 |
commit | 9f6fa94486134b211a37c62bbe115587dd689b67 (patch) | |
tree | c52a326280297baba57ca3a2c03d0a8d40103d23 /g10/g10.c | |
parent | * sign.c (do_sign): Show the hash used when making a signature in verbose (diff) | |
download | gnupg-9f6fa94486134b211a37c62bbe115587dd689b67.tar.gz gnupg-9f6fa94486134b211a37c62bbe115587dd689b67.zip |
* g10.c (main): Add --no-textmode.
* export.c (do_export_stream), keyedit.c (show_key_with_all_names,
menu_addrevoker), mainproc.c (check_sig_and_print), photoid.c
(show_photos), sign.c (mk_notation_and_policy), trustdb.c (get_validity,
reset_trust_records, validate_keys): Make some strings translatable.
* mainproc.c (check_sig_and_print): Show digest algorithm and sig class
when verifying a sig with --verbose on, and add version, pk and hash
algorithms and sig class to VALIDSIG.
* parse-packet.c (enum_sig_subpkt): Make a warning message a --verbose
warning message since we don't need to warn every time we see an unknown
critical (we only need to invalidate the signature).
* trustdb.c (init_trustdb): Check the trustdb options even with TM_AUTO
since the auto may become TM_CLASSIC or TM_OPENPGP.
Diffstat (limited to '')
-rw-r--r-- | g10/g10.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -130,6 +130,7 @@ enum cmd_and_opt_values { aNull = 0, aRefreshKeys, oTextmode, + oNoTextmode, oExpert, oNoExpert, oAskSigExpire, @@ -400,6 +401,7 @@ static ARGPARSE_OPTS opts[] = { { oCompress, NULL, 1, N_("|N|set compress level N (0 disables)") }, { oTextmodeShort, NULL, 0, "@"}, { oTextmode, "textmode", 0, N_("use canonical text mode")}, + { oNoTextmode, "no-textmode", 0, "@"}, { oExpert, "expert", 0, "@"}, { oNoExpert, "no-expert", 0, "@"}, { oAskSigExpire, "ask-sig-expire", 0, "@"}, @@ -1626,6 +1628,7 @@ main( int argc, char **argv ) break; case oTextmodeShort: opt.textmode = 2; break; case oTextmode: opt.textmode=1; break; + case oNoTextmode: opt.textmode=0; break; case oExpert: opt.expert = 1; break; case oNoExpert: opt.expert = 0; break; case oAskSigExpire: opt.ask_sig_expire = 1; break; |