aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-07-01 14:50:12 +0000
committerWerner Koch <[email protected]>2016-07-01 14:50:12 +0000
commit7bfc86c938d11c14ea78b196c82ceba2a2f5317d (patch)
tree00e1e8b7b2c1bab6c449ffb396742c034162f585 /doc/gpg.texi
parentgpg: New option --import-filter (diff)
downloadgnupg-7bfc86c938d11c14ea78b196c82ceba2a2f5317d.tar.gz
gnupg-7bfc86c938d11c14ea78b196c82ceba2a2f5317d.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--doc/gpg.texi12
1 files changed, 7 insertions, 5 deletions
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: