diff options
author | David Shaw <[email protected]> | 2005-11-18 04:25:07 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2005-11-18 04:25:07 +0000 |
commit | eac8dbc9b7428d93413ac08aabccdc7b20fb1e2f (patch) | |
tree | 8c1a355aac69f0758ae7ce7fbb2c137ed98cd9fe /g10/import.c | |
parent | * armor.c (parse_header_line): A fussy bit of 2440: header lines are (diff) | |
download | gnupg-eac8dbc9b7428d93413ac08aabccdc7b20fb1e2f.tar.gz gnupg-eac8dbc9b7428d93413ac08aabccdc7b20fb1e2f.zip |
* keyedit.c (keyedit_menu, menu_clean): Simplify clean options to just
"clean", and add "minimize".
* import.c (parse_import_options): Make help text match the export
versions of the options.
* options.h, export.c (parse_export_options, do_export_stream): Reduce
clean options to two: clean and minimize.
* trustdb.h, trustdb.c (clean_one_uid): New function that joins uid
and sig cleaning into one for a simple API outside trustdb.
Diffstat (limited to '')
-rw-r--r-- | g10/import.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/g10/import.c b/g10/import.c index 52118ec7a..30e47a2e4 100644 --- a/g10/import.c +++ b/g10/import.c @@ -102,18 +102,16 @@ parse_import_options(char *str,unsigned int *options,int noisy) {"merge-only",IMPORT_MERGE_ONLY,NULL, N_("only accept updates to existing keys")}, {"import-clean",IMPORT_CLEAN,NULL, - N_("remove unusable user IDs and signatures after import")}, - {"import-clean-sigs",0,NULL,NULL}, - {"import-clean-uids",0,NULL,NULL}, + N_("remove unusable parts from key after import")}, {"import-minimal",IMPORT_MINIMAL|IMPORT_CLEAN,NULL, - N_("remove unusable user IDs and all signatures after import")}, - /* Alias */ - {"import-minimize",IMPORT_MINIMAL|IMPORT_CLEAN,NULL,NULL}, + N_("remove as much as possible from key after import")}, /* Aliases for backward compatibility */ {"allow-local-sigs",IMPORT_LOCAL_SIGS,NULL,NULL}, {"repair-hkp-subkey-bug",IMPORT_REPAIR_PKS_SUBKEY_BUG,NULL,NULL}, /* dummy */ {"import-unusable-sigs",0,NULL,NULL}, + {"import-clean-sigs",0,NULL,NULL}, + {"import-clean-uids",0,NULL,NULL}, {NULL,0,NULL,NULL} }; |