From 7bfc86c938d11c14ea78b196c82ceba2a2f5317d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 1 Jul 2016 16:50:12 +0200 Subject: gpg: New option --export-filter * g10/gpg.c (oExportFilter): New. (opts): Add --export-filter. (main): Handle option. * g10/export.c: Include recsel.h, init.h, and mbox-util.h. (export_keep_uid): New global var. (cleanup_export_globals): New. (parse_and_set_export_filter): New. (filter_getval): New. (apply_keep_uid_filter): New. (do_export_stream): Apply filter if set. Signed-off-by: Werner Koch --- doc/gpg.texi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/gpg.texi b/doc/gpg.texi index 9a0622199..7118e0d1c 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -2219,12 +2219,14 @@ opposite meaning. The options are: @end table @item --import-filter @code{@var{name}=@var{expr}} +@itemx --export-filter @code{@var{name}=@var{expr}} @opindex import-filter -This option defines an import filter which is implied to the imported -keyblock right before it will be stored. @var{name} defines the type -of filter to use, @var{expr} the expression to evaluate. The option -can be used several times which then appends more expression to the -same @var{name}. +@opindex export-filter +These options define an import/export filter which are applied to the +imported/exported keyblock right before it will be stored/written. +@var{name} defines the type of filter to use, @var{expr} the +expression to evaluate. The option can be used several times which +then appends more expression to the same @var{name}. @noindent The available filter types are: -- cgit v1.2.3